mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 00:08:31 +02:00
✨ Fix linter issues on frontend (part 1).
This commit is contained in:
parent
09314c8926
commit
e90185b553
53 changed files with 324 additions and 748 deletions
|
@ -7,13 +7,11 @@
|
|||
(ns app.util.router
|
||||
(:refer-clojure :exclude [resolve])
|
||||
(:require
|
||||
[app.common.data :as d]
|
||||
[app.config :as cfg]
|
||||
[app.common.uri :as u]
|
||||
[app.config :as cfg]
|
||||
[app.util.browser-history :as bhistory]
|
||||
[app.util.timers :as ts]
|
||||
[beicon.core :as rx]
|
||||
[cuerdas.core :as str]
|
||||
[goog.events :as e]
|
||||
[potok.core :as ptk]
|
||||
[reitit.core :as r]))
|
||||
|
@ -83,7 +81,7 @@
|
|||
(dissoc state :exception))
|
||||
|
||||
ptk/EffectEvent
|
||||
(effect [_ state stream]
|
||||
(effect [_ state _]
|
||||
(ts/asap
|
||||
#(let [router (:router state)
|
||||
history (:history state)
|
||||
|
@ -106,7 +104,7 @@
|
|||
|
||||
(deftype NavigateNewWindow [id params qparams]
|
||||
ptk/EffectEvent
|
||||
(effect [_ state stream]
|
||||
(effect [_ state _]
|
||||
(let [router (:router state)
|
||||
path (resolve router id params qparams)
|
||||
uri (-> (u/uri cfg/public-uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue