diff --git a/mobile/stores/index.ts b/mobile/stores/index.ts index e05036b..510737b 100644 --- a/mobile/stores/index.ts +++ b/mobile/stores/index.ts @@ -3,3 +3,4 @@ export type { Group } from './useGroupStore'; export { useGroupsStore } from './groupsStore'; export { useUserStore } from './userStore'; export { useWalletStore } from './walletStore'; +export type { WalletState } from './walletStore'; diff --git a/mobile/stores/walletStore.ts b/mobile/stores/walletStore.ts index f47215d..cf3c15b 100644 --- a/mobile/stores/walletStore.ts +++ b/mobile/stores/walletStore.ts @@ -2,7 +2,7 @@ import { create } from 'zustand'; import { persist, createJSONStorage } from 'zustand/middleware'; import AsyncStorage from '@react-native-async-storage/async-storage'; -interface WalletState { +export interface WalletState { address: string | null; isConnecting: boolean; connect: (address: string) => void;