From 457b78dfe5293596cd5145a3a6150da62e1f0271 Mon Sep 17 00:00:00 2001 From: Yusuf Tomilola <52901501+yusuftomilola@users.noreply.github.com> Date: Fri, 29 May 2026 20:08:43 +0100 Subject: [PATCH] feat: export WalletState type and wire into stores index --- mobile/stores/index.ts | 1 + mobile/stores/walletStore.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;