From 0cbf94f35163fbcd4ba5192c4609f81be3d5f93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Wed, 2 Nov 2022 17:04:09 +0100 Subject: [PATCH] Rename component --- website/src/widgets/landing.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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