mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
tweak(phone/marketplace): Added type safety to marketplace state
This commit is contained in:
1 parent
8b746c8185
commit
c3ee168d55
1 file changed
+2
-1
@@ -1,7 +1,8 @@
|
||||
import { atom } from 'recoil';
|
||||
import { MarketplaceListing } from '../../../../../typings/marketplace';
|
||||
|
||||
export const selloutState = {
|
||||
listing: atom({
|
||||
listing: atom<MarketplaceListing[]>({
|
||||
key: 'listing',
|
||||
default: [],
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user