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,15 +1,11 @@
import React, { Component, Fragment } from 'react'
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { Prompt } from 'react-router-dom'
import superagent from 'superagent'
import * as Actions from './actions'
import { Link, Prompt } from 'react-router-dom'
import * as UIActions from '../../actions/ui'
import { msgToReal } from '../../utils'
import './RolePicker.sass'
import * as Actions from './actions'
import Category from './Category'
import { Scrollbars } from 'react-custom-scrollbars'
import { Link } from 'react-router-dom'
import './RolePicker.sass'
const mapState = ({ rolePicker, servers }, ownProps) => {
return {