feat: comments

* create comment
* reply to comment thread
* edit comment
* delete comment
* resolve comment
This commit is contained in:
Philipinho
2023-11-09 16:52:34 +00:00
parent dea2cad89c
commit 4cb7a56f65
49 changed files with 1486 additions and 87 deletions
@@ -13,7 +13,7 @@ import { v4 as uuidv4 } from 'uuid';
import { IMovePage } from '@/features/page/types/page.types';
import { useNavigate} from 'react-router-dom';
import { TreeNode } from '@/features/page/tree/types';
import usePage from '@/features/page/hooks/usePage';
import usePage from '@/features/page/hooks/use-page';
export function usePersistence<T>() {
const [data, setData] = useAtom(treeDataAtom);