chore: loads of lgtm maintainability fixes

This commit is contained in:
Katie Thornhill 2019-11-19 23:22:37 -05:00
parent 0b918d9ffa
commit eb6dce5277
No known key found for this signature in database
GPG key ID: F76EDC6541A99644
13 changed files with 44 additions and 98 deletions

View file

@ -1,9 +1,7 @@
import React, { Component } from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes'
import { NavLink } from 'react-router-dom'
import './ServerCard.sass'
import { withRouter } from 'react-router'
class ServerCard extends Component {
static propTypes = {

View file

@ -1,15 +1,14 @@
import React, { Component } from 'react'
import { Route, Switch } from 'react-router-dom'
import { Scrollbars } from 'react-custom-scrollbars'
import { connect } from 'react-redux'
import { withRouter, Redirect } from 'react-router'
import './index.sass'
import Navigation from './Navigation'
import RolePicker from '../role-picker'
import RoleEditor from '../role-editor'
import AddServer from '../add-server'
import { Redirect } from 'react-router'
import { Route, Switch } from 'react-router-dom'
import Error404 from '../../pages/Error404'
import AddServer from '../add-server'
import RoleEditor from '../role-editor'
import RolePicker from '../role-picker'
import './index.sass'
import Navigation from './Navigation'
// import mockData from './mockData'