1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-17 11:41:44 +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 () { componentDidMount () {
const { dispatch, config } = this.props const { dispatch, config } = this.props
const supportedTheme = [ const supportedThemes = [
'dark', 'dark',
'white', 'white',
'solarized-dark' 'solarized-dark'
] ]
if (supportedTheme.indexOf(config.ui.theme) !== -1) { if (supportedThemes.indexOf(config.ui.theme) !== -1) {
document.body.setAttribute('data-theme', config.ui.theme) document.body.setAttribute('data-theme', config.ui.theme)
} }
else { else {