fix: wrong fn invoke

pull/7598/head
Tienson Qin 2022-12-05 15:11:30 +08:00
parent 8a6e0bdcc2
commit fb3e345d76
1 changed files with 2 additions and 1 deletions

View File

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