refactor: more consise

Co-authored-by: MatissJanis

Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
This commit is contained in:
Compositr
2023-10-10 16:20:20 +11:00
committed by GitHub
parent c792f42e68
commit 37ef71b52d

View File

@@ -177,9 +177,7 @@ export function SyncButton({ style, isMobile = false }: SyncButtonProps) {
<>
<KeyHandlers
keys={{
'ctrl+s': () => {
sync();
},
'ctrl+s': sync,
}}
/>