mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Merge pull request #984 from asmsuechan/remove-unused-vars
Remove unused vars
This commit is contained in:
@@ -1,18 +1,15 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import CSSModules from 'browser/lib/CSSModules'
|
import CSSModules from 'browser/lib/CSSModules'
|
||||||
import styles from './Crowdfunding.styl'
|
import styles from './Crowdfunding.styl'
|
||||||
import ConfigManager from 'browser/main/lib/ConfigManager'
|
|
||||||
import store from 'browser/main/store'
|
|
||||||
|
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
const { shell, remote } = electron
|
const { shell } = electron
|
||||||
|
|
||||||
class Crowdfunding extends React.Component {
|
class Crowdfunding extends React.Component {
|
||||||
constructor (props) {
|
constructor (props) {
|
||||||
super(props)
|
super(props)
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
config: this.props.config
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,10 +67,7 @@ class Preferences extends React.Component {
|
|||||||
)
|
)
|
||||||
case 'CROWDFUNDING':
|
case 'CROWDFUNDING':
|
||||||
return (
|
return (
|
||||||
<Crowdfunding
|
<Crowdfunding />
|
||||||
dispatch={dispatch}
|
|
||||||
config={config}
|
|
||||||
/>
|
|
||||||
)
|
)
|
||||||
case 'STORAGES':
|
case 'STORAGES':
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user