delete comments

This commit is contained in:
Adrian Charkiewicz 2023-04-14 13:39:14 +02:00
parent fc578e77fe
commit e6955508ef

View File

@ -56,24 +56,12 @@ const Pager = (props) => {
return theme.colors.dark; return theme.colors.dark;
}; };
// const leftArrowClickable = () => {
// if (props.pageNr === 1)
// return null;
// return props.previousPage;
// };
const rightArrowVisible = () => { const rightArrowVisible = () => {
if (props.pageNr === props.pages) if (props.pageNr === props.pages)
return 'transparent'; return 'transparent';
return theme.colors.dark; return theme.colors.dark;
}; };
// const rightArrowClickable = () => {
// if (props.pageNr === props.pages)
// return null;
// return props.nextPage;
// };
return ( return (
<PagerStyle> <PagerStyle>
<LeftArrow as='a' href='#start' src={polygon} onClick={() => PREVIOUS_PAGE(props.pageNr, props.setPageNr)} size='cover' <LeftArrow as='a' href='#start' src={polygon} onClick={() => PREVIOUS_PAGE(props.pageNr, props.setPageNr)} size='cover'