8000 feat: remove localStorageEffect · codeisneverodd/home@ac6fb31 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac6fb31

Browse files
feat: remove localStorageEffect
1 parent 85f96fd commit ac6fb31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/solution-pass/hooks/useSearch.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { localStorageEffect } from "@/lib/@utils/storageEffect";
21
import { QueryStatus } from "@tanstack/react-query";
32
import { chosungIncludes, hangulIncludes } from "@toss/hangul";
43
import { atom, useRecoilState, useResetRecoilState } from "recoil";
@@ -20,8 +19,7 @@ const searchAtom = atom<{
2019
selectedProb: null,
2120
code: "",
2221
selectedLangs: ["JavaScript", "Python"]
23-
},
24-
effects: [localStorageEffect("solution-pass-searchAtom")]
22+
}
2523
});
2624

2725
export default function useSearch() {

0 commit comments

Comments
 (0)
0