diff --git a/src/containers/FindBar.js b/src/containers/FindBar.js index 6a1de855..3912e790 100644 --- a/src/containers/FindBar.js +++ b/src/containers/FindBar.js @@ -270,5 +270,5 @@ FindBar.propTypes = { dispatch: PropTypes.func.isRequired, }; - -module.exports = FindBar; +export { FindBar } +export default connect()(FindBar); diff --git a/src/containers/stories/FindBar.js b/src/containers/stories/FindBar.js index a09bee41..b512d61d 100644 --- a/src/containers/stories/FindBar.js +++ b/src/containers/stories/FindBar.js @@ -1,7 +1,7 @@ import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; -import FindBar from '../FindBar'; +import { FindBar } from '../FindBar'; const commands = [ { pattern: 'Create new Collection(:collectionName)' },