mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
tweak(phone/settings): Type safety for settings state
This commit is contained in:
1 parent
d15273b7b1
commit
b9243e9ca3
1 file changed
+1
-1
@@ -106,7 +106,7 @@ const localStorageEffect = (key) => ({ setSelf, onSet }) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const settingsState = atom({
|
||||
export const settingsState = atom<IPhoneSettings>({
|
||||
key: 'settings',
|
||||
default: config.defaultSettings,
|
||||
effects_UNSTABLE: [localStorageEffect(NPWD_STORAGE_KEY)],
|
||||
|
||||
Reference in new issue
Block a user