added comment form
This commit is contained in:
@@ -3,7 +3,7 @@ import WithSidebarLayout from '@layouts/withSidebar';
|
||||
|
||||
import { DatabaseContext } from '@components/contexts/database';
|
||||
import { Content } from '@components/note/content';
|
||||
import FormBasic from '@components/note/form/basic';
|
||||
import FormComment from '@components/note/form/comment';
|
||||
|
||||
import { useRouter } from 'next/router';
|
||||
import {
|
||||
@@ -35,10 +35,10 @@ export default function Page() {
|
||||
}, [fetchRoot]);
|
||||
|
||||
return (
|
||||
<div className="scrollbar-hide flex h-full flex-col overflow-y-auto py-5">
|
||||
<div className="scrollbar-hide flex h-full flex-col gap-2 overflow-y-auto py-5">
|
||||
<div className="flex h-min min-h-min w-full select-text flex-col px-3">{root && <Content data={root} />}</div>
|
||||
<div>
|
||||
<FormBasic />
|
||||
<FormComment />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user