mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
9b682c8af5
* 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);
|