Fix preact icon attribute spreading (#1222)

This commit is contained in:
YCM Jason 2024-09-27 00:18:45 +01:00 committed by GitHub
parent 261e23df42
commit c46d7a6ef4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ const createPreactComponent = (
stroke: color,
}),
style,
...[rest],
...rest,
},
[
title && h('title', {}, title),