Refactor code
This commit is contained in:
parent
e5f67ebc08
commit
de6e5ed38f
|
@ -296,8 +296,7 @@ export function getCPieOpts(isDarkMode) {
|
|||
},
|
||||
};
|
||||
if (isDarkMode) {
|
||||
const sColor = '#e6e6e6';
|
||||
options.plugins.title.color = sColor;
|
||||
options.plugins.title.color = '#e6e6e6';
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user