Skip to content

Commit eb409d2

Browse files
committed
refactor: remove unnecessary arrow func
1 parent 04bf32e commit eb409d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/editor/views/GraphView/ZoomControl.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const ZoomControl = () => {
1414

1515
useHotkeys(
1616
[
17-
["mod+[plus]", () => zoomIn, { usePhysicalKeys: true }],
18-
["mod+[minus]", () => zoomOut, { usePhysicalKeys: true }],
17+
["mod+[plus]", zoomIn, { usePhysicalKeys: true }],
18+
["mod+[minus]", zoomOut, { usePhysicalKeys: true }],
1919
["shift+Digit1", focusFirstNode, { usePhysicalKeys: true }],
2020
["shift+Digit2", centerView, { usePhysicalKeys: true }],
2121
],

0 commit comments

Comments
 (0)