Skip to content

Commit

Permalink
fix(header): fetcher query params
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Feb 16, 2024
1 parent 42aba09 commit 4b21dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Header() {
};

const clerkUser = useUser();
const checkUserExists = useSWR<{ exists: boolean }>('check-user-exists', fetcher.get.query, {
const checkUserExists = useSWR<{ exists: boolean }>(['check-user-exists'], fetcher.get.query, {
isPaused: () => clerkUser.isLoaded && !clerkUser.isSignedIn,
});

Expand Down

0 comments on commit 4b21dd1

Please sign in to comment.