diff --git a/app/components/forms.tsx b/app/components/forms.tsx index faaa14d..814adae 100644 --- a/app/components/forms.tsx +++ b/app/components/forms.tsx @@ -58,7 +58,7 @@ export const FieldCheckbox = ({ const input = useInputControl({ key, name: inputProps.name, - formId: inputProps.form, + formId: inputProps.form, initialValue: defaultChecked ? checkedValue : undefined }) const fallbackId = useId() diff --git a/app/routes/file-manager/index.tsx b/app/routes/file-manager/index.tsx index 31e3a3a..19bb1b4 100644 --- a/app/routes/file-manager/index.tsx +++ b/app/routes/file-manager/index.tsx @@ -1,64 +1,89 @@ -import {GeneralLayout} from "~/components/general-layout"; -import {FileCard, FileCardList, FileTypes} from "~/components/file-card"; -import {DataTable} from "~/components/data-table"; -import {columns} from "./columns"; -import {Input} from "~/components/ui/input"; -import {Button} from "~/components/ui/button"; -import {AddIcon} from "~/components/icons"; -import {Authenticated} from "@refinedev/core"; +import { GeneralLayout } from "~/components/general-layout"; +import { FileCard, FileCardList, FileTypes } from "~/components/file-card"; +import { DataTable } from "~/components/data-table"; +import { columns } from "./columns"; +import { Input } from "~/components/ui/input"; +import { Button } from "~/components/ui/button"; +import { AddIcon } from "~/components/icons"; +import { Authenticated } from "@refinedev/core"; +import { + Dialog, + DialogContent, + DialogHeader, + DialogTitle, + DialogTrigger, +} from "~/components/ui/dialog"; +import { Field } from "~/components/forms"; export default function FileManager() { return ( - - -

File Manager

- - - - - - -

Files

-
- } - placeholder="Search files by name or CID" - className="border-ring font-medium w-full grow h-12 flex-1 bg-primary-2/10" - /> - - -
- -
-
+ + + +

File Manager

+ + + + + + +

Files

+
+ } + placeholder="Search files by name or CID" + className="border-ring font-medium w-full grow h-12 flex-1 bg-primary-2/10" + /> + + + + +
+ +
+ + Pinning Contnet + + +
+ + + + +
+
+
); }