diff --git a/src/components/generic/Pager.js b/src/components/generic/Pager.js index e014934..8efea74 100644 --- a/src/components/generic/Pager.js +++ b/src/components/generic/Pager.js @@ -56,24 +56,12 @@ const Pager = (props) => { return theme.colors.dark; }; - // const leftArrowClickable = () => { - // if (props.pageNr === 1) - // return null; - // return props.previousPage; - // }; - const rightArrowVisible = () => { if (props.pageNr === props.pages) return 'transparent'; return theme.colors.dark; }; - // const rightArrowClickable = () => { - // if (props.pageNr === props.pages) - // return null; - // return props.nextPage; - // }; - return ( PREVIOUS_PAGE(props.pageNr, props.setPageNr)} size='cover'