Skip to content

Commit

Permalink
please eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
tegaki-tegaki committed Nov 4, 2024
1 parent bd62b64 commit 4feb06e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/ThumbnailGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
TablePagination,
} from "@mui/material";
import { parseAsInteger, useQueryState } from "nuqs";
import { useState } from "react";

export const ThumbnailGallery = ({
images,
Expand All @@ -19,12 +18,10 @@ export const ThumbnailGallery = ({
images: Array<string>;
bucketURL: string;
}) => {
// const [page, setPage] = useState(0);
const [page, setPage] = useQueryState<number>(
"page",
parseAsInteger.withDefault(0).withOptions({ history: "push" }),
);
// const [rowsPerPage, setRowsPerPage] = useState(10);
const [rowsPerPage, setRowsPerPage] = useQueryState<number>(
"rowsPerPag",
parseAsInteger.withDefault(10),
Expand Down

0 comments on commit 4feb06e

Please sign in to comment.