mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(localStorage): solution to localStorage issue
Still need to find a good way to re-render
This commit is contained in:
1 parent
07dc73f0cb
commit
5fdb9ba21c
7 files changed
+51
-53
No files matched your search
@@ -8,7 +8,6 @@ const configState = atom({
|
||||
});
|
||||
|
||||
export const useConfig = (state: any = configState): any => {
|
||||
const [, setVal] = useLocalStorage('');
|
||||
const [config, _setConfig] = useRecoilState(state);
|
||||
|
||||
const setConfig = (key, value) => {
|
||||
|
||||
Reference in new issue
Block a user