diff --git a/client/src/containers/my-projects/index.tsx b/client/src/containers/my-projects/index.tsx index f73f1531..2a7c6477 100644 --- a/client/src/containers/my-projects/index.tsx +++ b/client/src/containers/my-projects/index.tsx @@ -23,6 +23,8 @@ import { cn, getAuthHeader } from "@/lib/utils"; import { useMyProjectsFilters } from "@/app/my-projects/url-store"; +import { useTablePaginationReset } from "@/hooks/use-table-pagination-reset"; + import Search from "@/components/ui/search"; import { useSidebar } from "@/components/ui/sidebar"; import { @@ -65,6 +67,8 @@ export default function MyProjectsView() { pagination, }).queryKey; + useTablePaginationReset(filters.keyword, setPagination); + const { data } = client.customProjects.getCustomProjects.useQuery( queryKey, {