From 367af1234befdb98171f1ea219a0d99377b8e89d Mon Sep 17 00:00:00 2001 From: Grayson Hicks Date: Sat, 11 Sep 2021 14:05:02 -0400 Subject: [PATCH] Remove from inside <main> Since this example is for functions, this title is not really necessary. A <title> should only be used inside a <head>, but adding react-helmet or dynamically setting the page title is not necessary here. --- examples/functions-hello-world/src/pages/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/functions-hello-world/src/pages/index.js b/examples/functions-hello-world/src/pages/index.js index 77fa54fdc1385..652614ae92272 100644 --- a/examples/functions-hello-world/src/pages/index.js +++ b/examples/functions-hello-world/src/pages/index.js @@ -82,7 +82,6 @@ const badgeStyle = { const IndexPage = () => { return ( <main style={pageStyles}> - <title>Home Page

Congratulations