From c3ee168d557cf74f3c14574da57a7a377dda4d8b Mon Sep 17 00:00:00 2001 From: Taso Date: Thu, 1 Apr 2021 13:36:06 -0400 Subject: [PATCH] tweak(phone/marketplace): Added type safety to marketplace state --- phone/src/apps/marketplace/hooks/state.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phone/src/apps/marketplace/hooks/state.ts b/phone/src/apps/marketplace/hooks/state.ts index b81618a..77481ed 100644 --- a/phone/src/apps/marketplace/hooks/state.ts +++ b/phone/src/apps/marketplace/hooks/state.ts @@ -1,7 +1,8 @@ import { atom } from 'recoil'; +import { MarketplaceListing } from '../../../../../typings/marketplace'; export const selloutState = { - listing: atom({ + listing: atom({ key: 'listing', default: [], }),