From cadc4967bf9d94884e5e0e31c0fb2eeb531b28c2 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 6 Feb 2024 11:43:11 -0500 Subject: [PATCH] fix lint on main --- src/components/MenuItem.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/MenuItem.tsx b/src/components/MenuItem.tsx index 0bf649b54a6e..4d7089fb24bd 100644 --- a/src/components/MenuItem.tsx +++ b/src/components/MenuItem.tsx @@ -384,7 +384,11 @@ function MenuItem( onPress(event); return; } - singleExecution(waitForNavigate(() => onPress(event)))(); + singleExecution( + waitForNavigate(() => { + onPress(event); + }), + )(); } };