From f851f1fcb717eeaae5e9596d8d15135dd1a7e07b Mon Sep 17 00:00:00 2001 From: pkfln Date: Sun, 26 Nov 2023 22:30:29 +0100 Subject: [PATCH] Fix formatting --- src/containers/WindowTitleBar.tsx | 4 +--- src/utils/debounce.ts | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/containers/WindowTitleBar.tsx b/src/containers/WindowTitleBar.tsx index d672f6f8..20a53a0e 100644 --- a/src/containers/WindowTitleBar.tsx +++ b/src/containers/WindowTitleBar.tsx @@ -101,9 +101,7 @@ const WindowTitleBar = () => { { - await appWindow.toggleMaximize(); - }} + onPress={() => appWindow.toggleMaximize()} /> void>( return (...args: Parameters) => { if (timerId !== null) clearTimeout(timerId); - timerId = setTimeout(() => func(...args), delay); }; };