Skip to content

Commit

Permalink
old commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayothegod committed Dec 4, 2024
1 parent 9fee7fc commit 470d57e
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions client/src/lib/store/userStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,32 +54,3 @@ export const useAuthStore = create<authStore>()(
// })),
// }));

// interface spaceStore {
// space: SpaceInterface | null;
// setSpace: (
// updateType: "updateState" | "trial",
// space?: SpaceInterface
// // chatId?: string
// ) => void;
// clearSpace: () => void;
// }

// export const useSpaceStore = create<spaceStore>()(
// persist(
// (set) => ({
// space: null,
// setSpace: (updateType, space) =>
// set((state) => {
// if (updateType === "updateState" && space) {
// return { space: space };
// }
// return { space: state.space };
// }),
// clearSpace: () => set(() => ({ space: null })),
// }),
// {
// name: "active-space",
// }
// )
// );

0 comments on commit 470d57e

Please sign in to comment.