wip
This commit is contained in:
@@ -7,6 +7,5 @@ export const OPENGRAPH_KEY = "9EJG4SY-19Q4M5J-H8R29C9-091XPCC";
|
||||
export const FULL_RELAYS = [
|
||||
"wss://relay.damus.io",
|
||||
"wss://relay.nostr.band/all",
|
||||
"wss://relay.nostrich.land",
|
||||
"wss://relay.nostrgraph.net",
|
||||
];
|
||||
|
||||
17
src/stores/onboarding.tsx
Normal file
17
src/stores/onboarding.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { create } from "zustand";
|
||||
import { createJSONStorage, persist } from "zustand/middleware";
|
||||
|
||||
export const useOnboarding = create(
|
||||
persist(
|
||||
(set) => ({
|
||||
profile: {},
|
||||
createProfile: (data) => {
|
||||
set({ profile: data });
|
||||
},
|
||||
}),
|
||||
{
|
||||
name: "onboarding",
|
||||
storage: createJSONStorage(() => sessionStorage),
|
||||
},
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user