Skip to content

Commit b3371f5

Browse files
authored
Remove pagination buttons from HeaderBar
Removed pagination controls from HeaderBar component.
1 parent 5927245 commit b3371f5

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/components/HeaderBar.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,12 @@ export const HeaderBar: FC = () => {
2626
return (
2727
<Container id="header-bar" data-testid="header-bar">
2828
<FileName />
29-
{ pdfState.paginated && pdfState.numPages > 1 && <button onClick={pdfPrevPage} >
30-
Prev Page
31-
</button>
32-
<span>
33-
{pdfState.currentPage} / {pdfState.numPages}
34-
</span>
35-
<button onClick={pdfNextPage}>
36-
Next Page
37-
</button> </>}
3829
<DocumentNav />
3930
</Container>
4031
);
4132
}
4233
};
4334

44-
45-
4635
const Container = styled.div`
4736
display: flex;
4837
justify-content: flex-end;

0 commit comments

Comments
 (0)