We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7620e68 commit d9665b9Copy full SHA for d9665b9
src/atoms/user.ts
@@ -1,6 +1,5 @@
1
import { Gender } from "@/types/profile";
2
import { atomWithStorage } from "jotai/utils";
3
-import { clearTokensAtom } from "@/atoms/authTokens";
4
import {
5
purchasedProfilesAtom,
6
recentlyViewedProfilesAtom,
@@ -46,7 +45,6 @@ export const viewerAtom = atomWithStorage<ViewerResponse | null>(
46
45
47
export const cleanDataAtom = atom(null, (_get, set) => {
48
// Clear all user-related data
49
- set(clearTokensAtom);
50
set(isFirstProfileViewAtom, true);
51
52
// Clear all user-related atoms
0 commit comments