diff --git a/website/src/widgets/landing.js b/website/src/widgets/landing.js index 0a5e9f1e0..68caee98e 100644 --- a/website/src/widgets/landing.js +++ b/website/src/widgets/landing.js @@ -56,7 +56,7 @@ for entity in doc.ents: ` } -const Landing = ({ data }) => { +const Languages = ({ data }) => { const { nightly, legacy } = data const codeExample = getCodeExample(nightly) return ( @@ -289,7 +289,7 @@ const Landing = ({ data }) => { ) } -Landing.propTypes = { +Languages.propTypes = { data: PropTypes.shape({ repo: PropTypes.string, languages: PropTypes.arrayOf( @@ -301,7 +301,7 @@ Landing.propTypes = { } const PageLanding = () => ( - } /> + } /> ) export default PageLanding