diff --git a/src/components/Select/index.js b/src/components/Select/index.js index 4b7c387f..c872d100 100644 --- a/src/components/Select/index.js +++ b/src/components/Select/index.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import Select from 'react-select'; -import AsyncSelect from 'react-select/lib/Async'; +import ReactSelect from 'react-select'; +import ReactAsyncSelect from 'react-select/lib/Async'; import colors from 'config/colors'; const styles = isSearchable => ({ @@ -58,21 +58,16 @@ const styles = isSearchable => ({ }), }); -const SelectWrapper = props => ( -
- {props.isAsync && } - {!props.isAsync &&