diff --git a/packages/app-client/src/modules/notes/pages/create-note.page.tsx b/packages/app-client/src/modules/notes/pages/create-note.page.tsx index a28a0389..53ef2a68 100644 --- a/packages/app-client/src/modules/notes/pages/create-note.page.tsx +++ b/packages/app-client/src/modules/notes/pages/create-note.page.tsx @@ -118,6 +118,11 @@ export const CreateNotePage: Component = () => { setError(null); } + function updateUploadedFiles(files: File[]) { + setUploadedFiles(prevFiles => [...prevFiles, ...files]); + setError(null); + } + const getIsShareApiSupported = () => navigator.share !== undefined; const shareNote = async () => { @@ -209,7 +214,7 @@ export const CreateNotePage: Component = () => {