mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 09:07:17 +02:00
🐛 Fix problem with thumbnail re-rendering
This commit is contained in:
parent
d684970bfb
commit
5a07599fc7
3 changed files with 24 additions and 17 deletions
|
@ -335,8 +335,9 @@
|
|||
|
||||
(defn node->xml
|
||||
[node]
|
||||
(-> (js/XMLSerializer.)
|
||||
(.serializeToString node)))
|
||||
(when (some? node)
|
||||
(-> (js/XMLSerializer.)
|
||||
(.serializeToString node))))
|
||||
|
||||
(defn svg->data-uri
|
||||
[svg]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue