From 4bb506447780419ad0132da0b6d1c42e711e7d2b Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Sun, 26 Mar 2023 20:07:58 +0200 Subject: [PATCH] allow only pdf upload (clientside) --- apps/web/pages/dashboard.tsx | 1 + apps/web/pages/documents.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsx index 9a15d5343..cc0797c7f 100644 --- a/apps/web/pages/dashboard.tsx +++ b/apps/web/pages/dashboard.tsx @@ -80,6 +80,7 @@ const DashboardPage: NextPageWithLayout = (props: any) => { { uploadDocument(event); }} diff --git a/apps/web/pages/documents.tsx b/apps/web/pages/documents.tsx index 148efc914..cc5362bd8 100644 --- a/apps/web/pages/documents.tsx +++ b/apps/web/pages/documents.tsx @@ -420,6 +420,7 @@ const DocumentsPage: NextPageWithLayout = (props: any) => { { uploadDocument(event); }}