Skip to content

Commit 14059da

Browse files
authored
Remove <title> from inside <main> (#33150)
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.
1 parent 85645cd commit 14059da

File tree

1 file changed

+0
-1
lines changed
  • examples/functions-hello-world/src/pages

1 file changed

+0
-1
lines changed

examples/functions-hello-world/src/pages/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const badgeStyle = {
8282
const IndexPage = () => {
8383
return (
8484
<main style={pageStyles}>
85-
<title>Home Page</title>
8685
<h1 style={headingStyles}>
8786
Congratulations
8887
<br />

0 commit comments

Comments
 (0)