Skip to content

Commit b3c67ea

Browse files
committed
Use header tags in subpages
1 parent dbe38f3 commit b3c67ea

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/containers/FirstPage.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ class FirstPage extends Component {
1111
const b64 = this.props.staticContext ? 'wait for it' : window.btoa('wait for it')
1212
return (
1313
<div className='bold'>
14-
<p>
15-
First Page
16-
</p>
14+
<h2>First Page</h2>
1715
<p>{`Email: ${this.props.user.email}`}</p>
1816
<p>{`b64: ${b64}`}</p>
1917
<Link to={'/second'}>Second</Link>

src/containers/SecondPage.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ class SecondPage extends Component {
1010
render() {
1111
return (
1212
<div className='bold'>
13-
<p>
14-
Second Page
15-
</p>
13+
<h2>Second Page</h2>
1614
<Link to={'/'}>First</Link>
1715
</div>
1816
)

0 commit comments

Comments
 (0)