tweak(phone/settings): Type safety for settings state

This commit is contained in:
Taso committed 2021-04-01 13:45:26 -04:00
1 parent d15273b7b1
commit b9243e9ca3
1 file changed
+1 -1
+1 -1
View File
@@ -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)],