diff --git a/app/components/AmountInput/AmountInput.scss b/app/components/AmountInput/AmountInput.scss deleted file mode 100644 index e69de29b..00000000 diff --git a/app/components/AmountInput/index.js b/app/components/AmountInput/index.js deleted file mode 100644 index 37d612c0..00000000 --- a/app/components/AmountInput/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import AmountInput from './AmountInput' - -export default AmountInput diff --git a/app/components/Contacts/SubmitChannelForm/SubmitChannelForm.js b/app/components/Contacts/SubmitChannelForm/SubmitChannelForm.js index 022dbd16..ba6c31c8 100644 --- a/app/components/Contacts/SubmitChannelForm/SubmitChannelForm.js +++ b/app/components/Contacts/SubmitChannelForm/SubmitChannelForm.js @@ -1,8 +1,7 @@ import React from 'react' import PropTypes from 'prop-types' import FaExclamationCircle from 'react-icons/lib/fa/exclamation-circle' -import AmountInput from 'components/AmountInput' -import { Button, Dropdown } from 'components/UI' +import { AmountInput, Button, Dropdown } from 'components/UI' import { FormattedNumber, FormattedMessage } from 'react-intl' import messages from './messages' import styles from './SubmitChannelForm.scss' diff --git a/app/components/AmountInput/AmountInput.js b/app/components/UI/AmountInput.js similarity index 100% rename from app/components/AmountInput/AmountInput.js rename to app/components/UI/AmountInput.js diff --git a/app/components/UI/index.js b/app/components/UI/index.js index e0540d9c..c35007d0 100644 --- a/app/components/UI/index.js +++ b/app/components/UI/index.js @@ -1,3 +1,4 @@ +export AmountInput from './AmountInput' export BackgroundDark from './BackgroundDark' export BackgroundLight from './BackgroundLight' export BackgroundLightest from './BackgroundLightest' diff --git a/test/unit/components/AmountInput.spec.js b/test/unit/components/UI/AmountInput.spec.js similarity index 99% rename from test/unit/components/AmountInput.spec.js rename to test/unit/components/UI/AmountInput.spec.js index db6d0789..426a20ef 100644 --- a/test/unit/components/AmountInput.spec.js +++ b/test/unit/components/UI/AmountInput.spec.js @@ -2,7 +2,7 @@ import React from 'react' import { configure, mount } from 'enzyme' import Adapter from 'enzyme-adapter-react-16' -import AmountInput from 'components/AmountInput' +import { AmountInput } from 'components/UI' configure({ adapter: new Adapter() })