Fix linter issues on frontend (part 1).

This commit is contained in:
Andrey Antukh 2021-06-17 13:26:38 +02:00 committed by Andrés Moya
parent 09314c8926
commit e90185b553
53 changed files with 324 additions and 748 deletions

View file

@ -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)