Refactor register page

This commit is contained in:
thierryverse 2025-11-15 02:07:20 +02:00
parent 82fea0ceee
commit 41a938cec0
24 changed files with 292 additions and 196 deletions

View file

@ -1,5 +1,5 @@
import { DocumentWithChunks } from "@/hooks/use-document-by-chunk";
import { DocumentTypeCount } from "@/hooks/use-document-types";
import type { DocumentWithChunks } from "@/hooks/use-document-by-chunk";
import type { DocumentTypeCount } from "@/hooks/use-document-types";
import { normalizeListResponse } from "../pagination";
export const uploadDocument = async (formData: FormData, authToken: string) => {