Initial commit

This commit is contained in:
Sebastian Korotkiewicz 2025-04-10 10:36:02 +02:00
commit 53f35caeab
18 changed files with 5527 additions and 0 deletions

10
src/store/useStore.js Normal file
View file

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