mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-26 14:33:31 +10:00
* replace next with vite * disable strictmode (it interferes with collaboration in dev mode)
6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
import { atom } from "jotai";
|
|
import { TreeApi } from 'react-arborist';
|
|
import { TreeNode } from "../types";
|
|
|
|
export const treeApiAtom = atom<TreeApi<TreeNode> | null>(null);
|