Donate button use iAP in TWA

This commit is contained in:
Ben Grant 2021-04-26 15:53:35 +10:00
parent 96f312369e
commit 0cfa931fe1
3 changed files with 103 additions and 12 deletions

View file

@ -32,3 +32,8 @@ export const useRecentsStore = create(persist(
}),
{ name: 'crabfit-recent' },
));
export const useTWAStore = create(set => ({
TWA: undefined,
setTWA: TWA => set({ TWA }),
}));