diff --git a/packages/gatsby-theme-api-docs/src/components/type/children-union-like.js b/packages/gatsby-theme-api-docs/src/components/type/children-union-like.js index 6a029d122..ce1e0a150 100644 --- a/packages/gatsby-theme-api-docs/src/components/type/children-union-like.js +++ b/packages/gatsby-theme-api-docs/src/components/type/children-union-like.js @@ -1,6 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import SpacingsStack from '@commercetools-uikit/spacings-stack'; +import { apiTypeStrings } from '../../utils/constants'; import Children from './children'; const ChildrenUnionLike = ({ apiType, apiTypeSubTypes }) => { @@ -17,6 +18,7 @@ const ChildrenUnionLike = ({ apiType, apiTypeSubTypes }) => { ))} @@ -28,7 +30,6 @@ const ChildrenUnionLike = ({ apiType, apiTypeSubTypes }) => { ChildrenUnionLike.propTypes = { apiType: PropTypes.object.isRequired, apiTypeSubTypes: PropTypes.arrayOf(PropTypes.object).isRequired, - strings: PropTypes.object, }; export default ChildrenUnionLike; diff --git a/packages/gatsby-theme-api-docs/src/components/type/type.js b/packages/gatsby-theme-api-docs/src/components/type/type.js index 8e869dd22..07e5b8cd7 100644 --- a/packages/gatsby-theme-api-docs/src/components/type/type.js +++ b/packages/gatsby-theme-api-docs/src/components/type/type.js @@ -32,7 +32,6 @@ const ApiType = props => { ) : (