Skip to content

Commit

Permalink
fix(time): fix type error at useEditableSearchParams
Browse files Browse the repository at this point in the history
  • Loading branch information
SWARVY committed Sep 10, 2024
1 parent c184bcd commit 89d89d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/time/src/shared/hooks/useEditableSearchParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useSearchParams } from 'next/navigation';

function useEditableSearchParams() {
const currentSearchParams = useSearchParams();
const searchParams = new URLSearchParams(currentSearchParams);
const searchParams = new URLSearchParams(currentSearchParams.toString());

return searchParams;
}
Expand Down

0 comments on commit 89d89d3

Please sign in to comment.