mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Update prettier to v2.0.1 and enable for SCSS (#420)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user