mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 15:12:39 +10:00
Rework sidebar pages
* Move sidebar pages from workspace to space level * Replace array sorting with lexicographical fractional indexing * Fixes and updates
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { atom } from "jotai";
|
||||
import { TreeNode } from '@/features/page/tree/types';
|
||||
import { SpaceTreeNode } from "@/features/page/tree/types";
|
||||
|
||||
export const treeDataAtom = atom<TreeNode[]>([]);
|
||||
export const treeDataAtom = atom<SpaceTreeNode[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user