diff options
author | Jon Ambas <jon@jonambas.com> | 2017-08-14 09:46:06 -0400 |
---|---|---|
committer | Jon Ambas <jon@jonambas.com> | 2017-08-14 09:46:06 -0400 |
commit | bd974907c392ccf264c8586a2031c8b3fb7dc544 (patch) | |
tree | 3ecea821e4af592f997b0e160fc528b22a056655 | |
parent | 2b07705e0fa64561a1e93e16ada2392da7c54e9d (diff) | |
download | matchbox-bd974907c392ccf264c8586a2031c8b3fb7dc544.zip matchbox-bd974907c392ccf264c8586a2031c8b3fb7dc544.tar.gz matchbox-bd974907c392ccf264c8586a2031c8b3fb7dc544.tar.bz2 |
FAD-5354 Fix unstyled link import & add react-dom to rollup deps
-rw-r--r-- | config/rollup.js | 1 | ||||
-rw-r--r-- | src/components/ActionList/ActionList.js | 2 | ||||
-rw-r--r-- | src/components/UnstyledLink/index.js | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/config/rollup.js b/config/rollup.js index 9782a56..1857298 100644 --- a/config/rollup.js +++ b/config/rollup.js @@ -11,6 +11,7 @@ export default { ], external: [ 'react', + 'react-dom', 'classnames', 'prop-types', 'react-icon-base', diff --git a/src/components/ActionList/ActionList.js b/src/components/ActionList/ActionList.js index b007824..496f034 100644 --- a/src/components/ActionList/ActionList.js +++ b/src/components/ActionList/ActionList.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import classnames from 'classnames'; -import UnstyledLink, { linkFrom } from '../UnstyledLink'; +import { linkFrom } from '../UnstyledLink'; import styles from './ActionList.module.scss'; const Section = ({ section }) => { diff --git a/src/components/UnstyledLink/index.js b/src/components/UnstyledLink/index.js index f76e17e..4f92931 100644 --- a/src/components/UnstyledLink/index.js +++ b/src/components/UnstyledLink/index.js @@ -1,2 +1,2 @@ -export { default as UnstyledLink } from './UnstyledLink'; export * from './UnstyledLink'; +export { default as UnstyledLink } from './UnstyledLink'; |