fix: lint

pull/6803/head
charlie 2022-09-20 21:03:47 +08:00 committed by Tienson Qin
parent 6d72dc584c
commit eb46482a75
1 changed files with 2 additions and 2 deletions

View File

@ -928,8 +928,8 @@
([class] (icon class nil))
([class {:keys [extension? font?] :as opts}]
(when-not (string/blank? class)
(let [^js _tablerIcons (gobj/get js/window "tablerIcons")]
(if (or extension? font? (not _tablerIcons))
(let [^js jsTablerIcons (gobj/get js/window "tablerIcons")]
(if (or extension? font? (not jsTablerIcons))
[:i (merge {:class
(util/format
(str "%s-" class