Skip to content

Commit

Permalink
Remove <title> from inside <main> (#33150)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
graysonhicks authored Sep 12, 2021
1 parent 85645cd commit 14059da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/functions-hello-world/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ const badgeStyle = {
const IndexPage = () => {
return (
<main style={pageStyles}>
<title>Home Page</title>
<h1 style={headingStyles}>
Congratulations
<br />
Expand Down

0 comments on commit 14059da

Please sign in to comment.