wallets-api / client /src /store /useAppStore.ts
z1amez's picture
v.1
2dddd1f
raw
history blame contribute delete
280 Bytes
import { create } from 'zustand';
interface AppState {
mainCurrency: string;
setMainCurrency: (currency: string) => void;
}
export const useAppStore = create<AppState>((set) => ({
mainCurrency: 'USD',
setMainCurrency: (currency) => set({ mainCurrency: currency }),
}));