📎 Fix linter issues

This commit is contained in:
Andrey Antukh 2022-08-23 08:00:42 +02:00 committed by Andrés Moya
parent f9b44ccc5c
commit 1649ca4ff7
6 changed files with 6 additions and 17 deletions

View file

@ -17,13 +17,12 @@
[app.main.refs :as refs]
[app.main.store :as st]
[app.main.ui.components.dropdown :refer [dropdown]]
[app.main.ui.icons :as i]
[app.main.ui.hooks :as h]
[app.main.ui.icons :as i]
[app.main.ui.viewer.shapes :as shapes]
[app.util.dom :as dom]
[app.util.i18n :as i18n :refer [tr]]
[app.util.keyboard :as kbd]
[app.util.object :as obj]
[goog.events :as events]
[rumext.alpha :as mf]))
@ -75,8 +74,7 @@
[:& wrapper {:shape frame :view-box vbox}]]]]))
(mf/defc viewport
{
::mf/wrap [mf/memo]
{::mf/wrap [mf/memo]
::mf/wrap-props false}
[props]
(let [;; NOTE: with `use-equal-memo` hook we ensure that all values
@ -90,7 +88,6 @@
frame (unchecked-get props "frame")
base (unchecked-get props "base-frame")]
(mf/with-effect [mode]
(let [on-click
(fn [_]