File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 17
17
[source]
18
18
(cond
19
19
(string? source) (string/replace-first source #":\d +" " " )
20
- (:uri source) (some-> source :uri (string/replace-first #":\d +" " " ))
21
- :else source))
20
+ (:uri source) (some-> source
21
+ :uri
22
+ (string/replace-first #":\d +" " " ))
23
+ :else source))
22
24
23
25
(defn- placeholder
24
26
[{:keys [style fallback-content error? loaded?]}]
61
63
[old-props new-props]
62
64
(let [old-props-clj (transforms/js->clj old-props)
63
65
new-props-clj (transforms/js->clj new-props)
64
- old-source (some-> old-props-clj :source remove-port)
65
- new-source (some-> new-props-clj :source remove-port)]
66
+ old-source (some-> old-props-clj
67
+ :source
68
+ remove-port)
69
+ new-source (some-> new-props-clj
70
+ :source
71
+ remove-port)]
66
72
(and (= old-source new-source)
67
73
(= (dissoc old-props-clj :source ) (dissoc new-props-clj :source )))))
68
74
You can’t perform that action at this time.
0 commit comments