mirror of
https://github.com/penpot/penpot.git
synced 2026-04-11 13:52:20 +02:00
Guard against null element in get-attrs-from-styles so that when the DOM node is not available the function returns the provided defaults instead of throwing 'Cannot read properties of null (reading style)'. Signed-off-by: Andrey Antukh <niwi@niwi.nz>