* replace next with vite
* disable strictmode (it interferes with collaboration in dev mode)
This commit is contained in:
Philipinho
2023-10-20 17:12:08 +01:00
parent a86991e3d7
commit 9b682c8af5
96 changed files with 645 additions and 505 deletions
@@ -0,0 +1,5 @@
import { atom } from "jotai";
import { TreeApi } from 'react-arborist';
import { TreeNode } from "../types";
export const treeApiAtom = atom<TreeApi<TreeNode> | null>(null);
@@ -0,0 +1,4 @@
import { atom } from "jotai";
import { TreeNode } from '@/features/page/tree/types';
export const treeDataAtom = atom<TreeNode[]>([]);
@@ -0,0 +1,4 @@
import { atomWithStorage } from "jotai/utils";
import { IWorkspacePageOrder } from '@/features/page/types/page.types';
export const workspacePageOrderAtom = atomWithStorage<IWorkspacePageOrder | null>("workspace-page-order", null);