cleanups
This commit is contained in:
parent
06162e4f66
commit
3d3ee3a087
13 changed files with 332 additions and 238 deletions
|
@ -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 }),
|
||||
}));
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue