diff --git a/.travis.yml b/.travis.yml index fabb63c..d9faac8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ node_js: - "8.7" script: - npm test - - npm dist + - npm run dist diff --git a/src/Lekplats/FixtureEditor.js b/src/Lekplats/FixtureEditor.js index 92352f2..730e9ca 100644 --- a/src/Lekplats/FixtureEditor.js +++ b/src/Lekplats/FixtureEditor.js @@ -6,7 +6,7 @@ import view from 'ramda/src/view' import styles from './styles.scss' export default function FixtureEditor ({ Component, fixture, onFixtureChange }) { - const propTypes = introspect(Component.propTypes || {}) + const propTypes = Component.properTypes || introspect(Component.propTypes || {}) const flattenedPropTypes = flattenPropTypes(propTypes) const groupedPropTypes = groupPropTypes(flattenedPropTypes) return (