diff --git a/apps/web/pages/documents.tsx b/apps/web/pages/documents.tsx index 05030fb81..0d93a726b 100644 --- a/apps/web/pages/documents.tsx +++ b/apps/web/pages/documents.tsx @@ -230,6 +230,8 @@ const DocumentsPage: NextPageWithLayout = (props: any) => { className="flex-shrink-0 -ml-1 mr-3 h-6 w-6 inline text-neon" aria-hidden="true" onClick={(event) => { + event.preventDefault(); + event.stopPropagation(); if ( confirm( "Are you sure you want to delete this document"