Fix <Language showName /> prop type (#5265)
There isn‘t a `boolean` prop type, so this was throwing an error when Netlify built the site.
This commit is contained in:
1 parent
c7093cb3e4
commit
b61fec6091
1 file changed
+1
-1
@@ -135,7 +135,7 @@ const Language = ({ name, showName, image, variants }) => (
|
||||
|
||||
Language.propTypes = {
|
||||
name: PropTypes.string,
|
||||
showName: PropTypes.boolean,
|
||||
showName: PropTypes.bool,
|
||||
image: PropTypes.string,
|
||||
variants: PropTypes.array
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user