diff --git a/phone/src/apps/match/hooks/state.ts b/phone/src/apps/match/hooks/state.ts index 2d86410..dd4c255 100644 --- a/phone/src/apps/match/hooks/state.ts +++ b/phone/src/apps/match/hooks/state.ts @@ -1,7 +1,8 @@ import { atom } from 'recoil'; +import { FormattedMatch, FormattedProfile } from '../../../../../typings/match'; export const matchState = { - profiles: atom({ + profiles: atom({ key: 'profiles', default: null, }), @@ -9,19 +10,19 @@ export const matchState = { key: 'errorLoadingProfiles', default: false, }), - matches: atom({ + matches: atom({ key: 'matches', default: null, }), - errorLoadingMatches: atom({ + errorLoadingMatches: atom({ key: 'errorLoadingMatches', default: false, }), - myProfile: atom({ + myProfile: atom({ key: 'myProfile', default: null, }), - noProfileExists: atom({ + noProfileExists: atom({ key: 'noProfileExists', default: false, }),