Skip to content

Commit 1eef6c5

Browse files
committed
fixed style
1 parent 476e358 commit 1eef6c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/create-text-gradient-class.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,10 @@ const createTextGradientClass = (
370370
};
371371
}
372372

373-
newProps.style = {
373+
newProps.style = [
374374
...{ color: 'gray' },
375-
...(newProps.style || {})
376-
};
375+
newProps.style
376+
];
377377

378378
if (newProps.selectionColor != null) {
379379
newProps = {

0 commit comments

Comments
 (0)