Skip to content

Commit 2ac4189

Browse files
committed
preact icons bug fix
1 parent 935ee7d commit 2ac4189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/icons-preact/src/createPreactComponent.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const createPreactComponent = (
3333
stroke: color,
3434
}),
3535
style,
36-
...rest,
36+
...[rest],
3737
},
3838
[...iconNode.map(([tag, attrs]) => h(tag, attrs)), ...toChildArray(children)],
3939
);

0 commit comments

Comments
 (0)