From 596cdafbf58017831142ed5470e2aadd5eae8640 Mon Sep 17 00:00:00 2001 From: charlie Date: Fri, 19 May 2023 10:54:45 +0800 Subject: [PATCH] fix: lint --- src/main/frontend/modules/shortcut/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/modules/shortcut/core.cljs b/src/main/frontend/modules/shortcut/core.cljs index a3a7bd4509..ff9a73a641 100644 --- a/src/main/frontend/modules/shortcut/core.cljs +++ b/src/main/frontend/modules/shortcut/core.cljs @@ -230,7 +230,7 @@ (let [k (first args) keystroke (str/trim @local)] (when (and (= @action :save) - (not (empty? keystroke))) + (seq keystroke)) (config-handler/set-config! :shortcuts (merge