Remove unused imports

This commit is contained in:
Loïc Gasser
2018-08-22 22:37:05 -04:00
parent e4de101553
commit bc2ec4d0b7
21 changed files with 9 additions and 46 deletions

View File

@@ -2,8 +2,6 @@ import React from 'react'
import PropTypes from 'prop-types'
import Button from '../Button'
import InputBlock from '../inputs/InputBlock'
import StringInput from '../inputs/StringInput'
import Modal from './Modal'
import LayerTypeBlock from '../layers/LayerTypeBlock'

View File

@@ -21,11 +21,14 @@ class Gist extends React.Component {
onStyleChanged: PropTypes.func.isRequired,
}
state = {
preview: false,
public: false,
saving: false,
latestGist: null,
constructor(props) {
super(props);
this.state = {
preview: false,
public: false,
saving: false,
latestGist: null,
}
}
UNSAFE_componentWillReceiveProps(nextProps) {

View File

@@ -1,7 +1,6 @@
import React from 'react'
import PropTypes from 'prop-types'
import Button from '../Button'
import Modal from './Modal'