1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fixed typo in variable name

This commit is contained in:
Hung Nguyen
2018-04-13 21:00:01 +07:00
parent 8560901f80
commit f2a4e1d230

View File

@@ -140,13 +140,13 @@ class Main extends React.Component {
componentDidMount () {
const { dispatch, config } = this.props
const supportedTheme = [
const supportedThemes = [
'dark',
'white',
'solarized-dark'
]
if (supportedTheme.indexOf(config.ui.theme) !== -1) {
if (supportedThemes.indexOf(config.ui.theme) !== -1) {
document.body.setAttribute('data-theme', config.ui.theme)
}
else {