diff --git a/frontend/src/components/people-list/invite.js b/frontend/src/components/people-list/invite.js index c04af5e7..4e2a1de0 100644 --- a/frontend/src/components/people-list/invite.js +++ b/frontend/src/components/people-list/invite.js @@ -1,5 +1,6 @@ const React = require('react'); +// const PropTypes = require('@root/prop-types'); const Row = require('@ui/components/row'); const Column = require('@ui/components/column'); const Button = require('@ui/components/button'); @@ -8,9 +9,9 @@ const SelectCustom = require('@ui/components/select-custom'); const Invite = (props) => { const { - people = [], + // people = [], handleToggle, - platformMembers + // platformMembers } = props; const InputStyle = { @@ -63,14 +64,15 @@ const Invite = (props) => { @@ -78,9 +80,9 @@ const Invite = (props) => { @@ -97,8 +99,8 @@ const Invite = (props) => { Invite.propTypes = { handleToggle: React.PropTypes.func, - orgUI: React.PropTypes.obj, - people: React.PropTypes.arrayOf(PropTypes.person) + // orgUI: React.PropTypes.obj, + // people: React.PropTypes.arrayOf(PropTypes.person) }; module.exports = Invite; \ No newline at end of file diff --git a/frontend/webpack/base.js b/frontend/webpack/base.js index 89c61179..7bf6ee93 100644 --- a/frontend/webpack/base.js +++ b/frontend/webpack/base.js @@ -86,12 +86,15 @@ module.exports = { }, { test: /\.css$/, - exclude: /node_modules/, - loaders: [ 'style-loader', 'css-loader' ], - include: [ - FRONTEND, - UI - ] + loader: 'style-loader!css-loader' + // XXXX : Commenting out breaks node_modules that use css + // i.e react-select. + + // exclude: /node_modules/, + // include: [ + // FRONTEND, + // UI + // ] }] } }; diff --git a/ui/src/components/select-custom/index.js b/ui/src/components/select-custom/index.js index d4a7a81b..f2bd9bca 100644 --- a/ui/src/components/select-custom/index.js +++ b/ui/src/components/select-custom/index.js @@ -38,11 +38,12 @@ const SelectCustom = ({ onChange, options, required = false, + style, value = '' }) => { return ( -
+
{label} @@ -76,6 +77,7 @@ SelectCustom.propTypes = { onChange: React.PropTypes.func, options: React.PropTypes.array, required: React.PropTypes.bool, + style: React.PropTypes.object, value: React.PropTypes.string };