diff --git a/exporter/src/app/browser.cljs b/exporter/src/app/browser.cljs index 3cbcf2b98..46330ced5 100644 --- a/exporter/src/app/browser.cljs +++ b/exporter/src/app/browser.cljs @@ -31,8 +31,8 @@ (defn create-cookies [uri {:keys [name token] :or {name "auth-token"}}] (let [domain (str (:host uri) - (when (:port uri) - (str ":" (:port uri))))] + (when (:port uri) + (str ":" (:port uri))))] #js [#js {:domain domain :path "/" :name name @@ -177,8 +177,7 @@ (p/catch (fn [cause] (p/do! (ex-ignore (.destroy ^js pool browser)) - (p/rejected cause)))))) - ] + (p/rejected cause))))))] (when-let [pool (deref pool)] (-> (p/do! (.acquire ^js pool)) diff --git a/exporter/src/app/handlers/export_shapes.cljs b/exporter/src/app/handlers/export_shapes.cljs index 580a27460..348a68e4a 100644 --- a/exporter/src/app/handlers/export_shapes.cljs +++ b/exporter/src/app/handlers/export_shapes.cljs @@ -203,10 +203,10 @@ :name (:name entry) :suffix (:suffix entry)})] - (let [xform (comp - (map #(assoc % :token token)) - (assoc-file-name))] - (->> (sequence xform exports) - (d/group-by (juxt :scale :type)) - (map second) - (into [] (mapcat process-group)))))) + (let [xform (comp + (map #(assoc % :token token)) + (assoc-file-name))] + (->> (sequence xform exports) + (d/group-by (juxt :scale :type)) + (map second) + (into [] (mapcat process-group)))))) diff --git a/exporter/src/app/renderer/svg.cljs b/exporter/src/app/renderer/svg.cljs index 729b57fb4..caac2a193 100644 --- a/exporter/src/app/renderer/svg.cljs +++ b/exporter/src/app/renderer/svg.cljs @@ -174,8 +174,7 @@ {"type" "element" "name" "radialGradient" "attributes" {"id" id "cx" "0.5" "cy" "0.5" "r" "0.5"} - "elements" (get-stops data)} - ))) + "elements" (get-stops data)}))) (get-gradients [id mapping] (->> mapping