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:
parent
66dce0e795
commit
f5596b2b3f
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue