0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

🐛 Temporary fix for import on sets with groups (/ delimiter)

This commit is contained in:
Florian Schroedl 2024-10-24 10:13:03 +02:00
parent 66dce0e795
commit f5596b2b3f

View file

@ -137,7 +137,8 @@
(->> data-stream
(rx/map (fn [data]
(try
(t/decode-str data)
(-> (str/replace data "/" "-") ;; TODO Remove when token groups work
(t/decode-str))
(catch js/Error e
(throw (wte/error-ex-info :error.import/json-parse-error data e))))))
(rx/map (fn [json-data]