Fixed goals query.

This commit is contained in:
Mike Cao
2025-05-31 09:46:36 -07:00
parent 49bcbfd7f9
commit f6c3ad5aa6
8 changed files with 38 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ export function usePagedQuery<T = any>({
const { query: queryParams } = useNavigation();
const [params, setParams] = useState<PageParams>({
search: '',
page: +queryParams.page || 1,
page: +queryParams?.page || 1,
});
const { useQuery } = useApi();