@nostr-dev-kit/ndk-mobile
Version:
NDK Mobile
20 lines (19 loc) • 408 B
JavaScript
;
import { create } from "zustand";
export const useWalletStore = create()(set => ({
activeWallet: undefined,
setActiveWallet: wallet => set({
activeWallet: wallet
}),
balance: null,
setBalance: balance => {
set({
balance
});
},
nutzapMonitor: undefined,
setNutzapMonitor: monitor => set({
nutzapMonitor: monitor
})
}));
//# sourceMappingURL=wallet.js.map