+
{title}
{subtitle && (
-
{subtitle}
+
{subtitle}
)}
{value && (
-
{value}
+
{value}
)}
{isPasswordCard &&
}
{!dialogNode ? (
diff --git a/app/components/ui/dialog.tsx b/app/components/ui/dialog.tsx
index 9ed1e97..5795c6f 100644
--- a/app/components/ui/dialog.tsx
+++ b/app/components/ui/dialog.tsx
@@ -43,7 +43,7 @@ const DialogContent = React.forwardRef<
>
{children}
-
+
Close
diff --git a/app/data/file-provider.ts b/app/data/file-provider.ts
new file mode 100644
index 0000000..bee1a33
--- /dev/null
+++ b/app/data/file-provider.ts
@@ -0,0 +1,15 @@
+import type { BaseRecord, CreateManyParams, CreateManyResponse, CreateParams, CreateResponse, CustomParams, CustomResponse, DataProvider, DeleteManyParams, DeleteManyResponse, DeleteOneParams, DeleteOneResponse, GetListParams, GetListResponse, GetManyParams, GetManyResponse, GetOneParams, GetOneResponse, UpdateManyParams, UpdateManyResponse, UpdateParams, UpdateResponse } from "@refinedev/core";
+
+export class PortalFilesProvider implements DataProvider {
+ getList:
(params: GetListParams) => Promise>;
+ getMany?: ((params: GetManyParams) => Promise>) | undefined;
+ getOne: (params: GetOneParams) => Promise>;
+ create: (params: CreateParams) => Promise>;
+ createMany?: ((params: CreateManyParams) => Promise>) | undefined;
+ update: (params: UpdateParams) => Promise>;
+ updateMany?: ((params: UpdateManyParams) => Promise>) | undefined;
+ deleteOne: (params: DeleteOneParams) => Promise>;
+ deleteMany?: ((params: DeleteManyParams) => Promise>) | undefined;
+ getApiUrl: () => string;
+ custom?: ((params: CustomParams) => Promise>) | undefined;
+}
\ No newline at end of file
diff --git a/app/routes/account.tsx b/app/routes/account.tsx
index edf89f8..a8dcebe 100644
--- a/app/routes/account.tsx
+++ b/app/routes/account.tsx
@@ -102,20 +102,20 @@ export default function MyAccount() {
{/* Dialogs must be near to body as possible to open the modal, otherwise will be restricted to parent height-width */}