Skip to content

Commit

Permalink
[stdf]Add JSDoc. v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dufu1991 committed Nov 21, 2023
1 parent 5687961 commit 1b2c2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stdf/theme/switchTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default theme => {
setPropertyFunc('--theme-color-darkWhite', color.darkWhite);
if (color.extend.length > 0) {
color.extend.forEach((item, i) => {
setPropertyFunc(`--theme-color-extend${i}`, item.color);
setPropertyFunc(`--theme-color-extend${i}`, item?.color);
});
}
};

0 comments on commit 1b2c2a9

Please # to comment.