From 8836f9cdca83459e1666f1cb20eccb5382fa7e10 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 2 Apr 2026 11:19:36 +0200 Subject: [PATCH] fix: wrap handleArchive call to prevent MouseEvent leaking as argument --- app/[locale]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index 8c047226..f6f5bda5 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -1653,7 +1653,7 @@ export default function Home() { onReplyAll={handleReplyAll} onForward={handleForward} onDelete={handleDelete} - onArchive={handleArchive} + onArchive={() => handleArchive()} onToggleStar={handleToggleStar} onSetColorTag={handleSetColorTag} onMarkAsSpam={handleMarkAsSpam}