1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

fixed eslint

This commit is contained in:
Nguyễn Việt Hưng
2018-05-19 19:52:47 +07:00
parent d6c28da3a8
commit 9893fd9ae5
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ const electron = require('electron')
const ipc = electron.ipcRenderer const ipc = electron.ipcRenderer
class Export extends React.Component { class Export extends React.Component {
constructor(props) { constructor (props) {
super(props) super(props)
this.state = { this.state = {
config: props.config config: props.config

View File

@@ -89,7 +89,7 @@ class Preferences extends React.Component {
) )
case 'EXPORT': case 'EXPORT':
return ( return (
<Export <Export
config={config} config={config}
haveToSave={alert => this.setState({ExportAlert: alert})} haveToSave={alert => this.setState({ExportAlert: alert})}
/> />