mirror of
https://github.com/penpot/penpot.git
synced 2026-06-09 08:52:05 +00:00
🐛 Fix onboarding template spinner stuck after failed download (#9504)
Signed-off-by: Andrey Antukh <niwi@niwi.nz> Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
bec21e69e6
commit
300be392f6
@ -42,6 +42,7 @@
|
||||
(rx/subs! (fn [{:keys [body] :as response}]
|
||||
(open-import-modal {:name name :uri (wapi/create-uri body)}))
|
||||
(fn [error]
|
||||
(reset! downloading? false)
|
||||
(js/console.error "error" error))
|
||||
(fn []
|
||||
(reset! downloading? false)))))]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user