Update prettier to v2.0.1 and enable for SCSS (#420)

This commit is contained in:
InfiniteTF
2020-04-03 01:29:33 +02:00
committed by GitHub
parent ad7bfb8dbf
commit 66cb7f4928
98 changed files with 1365 additions and 1299 deletions

View File

@@ -12,7 +12,7 @@ export const Pagination: React.FC<IPaginationProps> = ({
itemsPerPage,
currentPage,
totalItems,
onChangePage
onChangePage,
}) => {
const totalPages = Math.ceil(totalItems / itemsPerPage);
@@ -34,7 +34,7 @@ export const Pagination: React.FC<IPaginationProps> = ({
}
const pages = [...Array(endPage + 1 - startPage).keys()].map(
i => startPage + i
(i) => startPage + i
);
const calculatePageClass = (buttonPage: number) => {