Move tree implementation out of collections store (#4763)
* refactor: attaching emoji in tree node is unnecessary * refactor: pass depth and hasChildren as separate props * refactor: move tree impl into a separate hook * refactor: separate out as DocumentExplorer for reuse * fix: separate search and node * fix: review comments * fix: tsc
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { NavigationNode } from "~/types";
|
||||
import { NavigationNode } from "@shared/types";
|
||||
import naturalSort from "./naturalSort";
|
||||
|
||||
type Sort = {
|
||||
|
||||
Reference in New Issue
Block a user