delete comments
This commit is contained in:
parent
fc578e77fe
commit
e6955508ef
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user