From 37ef71b52de4b2ffb3cf1980b87a1542a10f79c4 Mon Sep 17 00:00:00 2001 From: Compositr Date: Tue, 10 Oct 2023 16:20:20 +1100 Subject: [PATCH] refactor: more consise Co-authored-by: MatissJanis Co-authored-by: Matiss Janis Aboltins --- packages/desktop-client/src/components/Titlebar.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/desktop-client/src/components/Titlebar.tsx b/packages/desktop-client/src/components/Titlebar.tsx index 1237eb69f3..a47f5208c2 100644 --- a/packages/desktop-client/src/components/Titlebar.tsx +++ b/packages/desktop-client/src/components/Titlebar.tsx @@ -177,9 +177,7 @@ export function SyncButton({ style, isMobile = false }: SyncButtonProps) { <> { - sync(); - }, + 'ctrl+s': sync, }} />