1
0
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:
SuenagaRyota
2017-10-15 23:39:50 +09:00
committed by GitHub
2 changed files with 2 additions and 8 deletions

View File

@@ -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
} }
} }

View File

@@ -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: