Lint a good chunk of src/main/frontend

Left some TODOs to discuss with others and others for me to finish
This commit is contained in:
Gabriel Horner
2022-01-11 17:34:54 -05:00
parent 3ded9ee1ff
commit 7497d8b396
37 changed files with 325 additions and 364 deletions

View File

@@ -1550,7 +1550,7 @@
true)]
(commands/restore-state restore-slash-caret-pos?))))
(defn- get-asset-file-link
(defn get-asset-file-link
[format url file-name image?]
(let [pdf? (and url (string/ends-with? url ".pdf"))]
(case (keyword format)