diff --git a/phone/src/os/phone/hooks/state.ts b/phone/src/os/phone/hooks/state.ts index 522d618..e35284d 100644 --- a/phone/src/os/phone/hooks/state.ts +++ b/phone/src/os/phone/hooks/state.ts @@ -1,19 +1,20 @@ import { atom } from 'recoil'; +import { IServerConfig } from '../../../../../typings/config'; export const phoneState = { - visibility: atom({ + visibility: atom({ key: 'phoneVisibility', default: false, }), - phoneConfig: atom({ + phoneConfig: atom({ key: 'phoneConfig', - default: undefined, + default: null, }), - phoneReady: atom({ + phoneReady: atom({ key: 'phoneReady', default: false, }), - phoneTime: atom({ + phoneTime: atom({ key: 'phoneTime', default: null, }),