Skip to content

Commit

Permalink
Merge pull request #73 from compsci-adl/main
Browse files Browse the repository at this point in the history
Production 2024-02-19_00
  • Loading branch information
rayokamoto authored Feb 18, 2024
2 parents 8803b77 + cfd4b80 commit 2b05d6f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ export default function Header() {
});

const checkUserPaid = useSWR<{ paid: boolean }>(['payment'], fetcher.get.query, {
isPaused: () => {
if (clerkUser.isLoaded && !clerkUser.isSignedIn) {
return true;
}
return !checkUserExists.data?.exists;
},
isPaused: () => clerkUser.isLoaded && !clerkUser.isSignedIn,
});

const [isScrolled, setIsScrolled] = useState(false);
Expand Down

0 comments on commit 2b05d6f

Please sign in to comment.