From e6955508ef26e37e81ca81f6685663e7e1b66282 Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Fri, 14 Apr 2023 13:39:14 +0200 Subject: [PATCH] delete comments --- src/components/generic/Pager.js | 12 ------------ 1 file changed, 12 deletions(-) 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'