This commit is contained in:
Sebastian Korotkiewicz 2025-04-10 12:23:10 +02:00
parent 06162e4f66
commit 3d3ee3a087
13 changed files with 332 additions and 238 deletions

View file

@ -1,4 +1,4 @@
import { create } from 'zustand';
import { create } from "zustand";
export const useStore = create((set) => ({
publicKey: null,
@ -7,4 +7,4 @@ export const useStore = create((set) => ({
setKeys: (publicKey, privateKey) => set({ publicKey, privateKey }),
setProfile: (profile) => set({ profile }),
logout: () => set({ publicKey: null, privateKey: null, profile: null }),
}));
}));