fix: wrong fn invoke

This commit is contained in:
Tienson Qin
2022-12-05 15:11:30 +08:00
parent 8a6e0bdcc2
commit fb3e345d76

View File

@@ -440,7 +440,8 @@
(row-with-button-action
{:left-label (t :settings-page/customize-shortcuts)
:button-label (t :settings-page/shortcut-settings)
:on-click #((state/close-settings!)
:on-click (fn []
(state/close-settings!)
(route-handler/redirect! {:to :shortcut-setting}))
:-for "customize_shortcuts"}))