Skip to content

Commit

Permalink
Minor formatting amends
Browse files Browse the repository at this point in the history
steveholgado committed Aug 6, 2019
1 parent c5389b9 commit 9ab14de
Showing 2 changed files with 20 additions and 16 deletions.
18 changes: 10 additions & 8 deletions pages/about.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import React from 'react'
import Link from 'next/link'

const About = () => (
<>
<Link href="/">
<a>Home</a>
</Link>
<h1>About</h1>
</>
)
function About() {
return (
<>
<Link href="/">
<a>Home</a>
</Link>
<h1>About</h1>
</>
)
}

export default About
18 changes: 10 additions & 8 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import React from 'react'
import Link from 'next/link'

const Index = () => (
<>
<Link href="/about">
<a>About</a>
</Link>
<h1>Home</h1>
</>
)
function Index() {
return (
<>
<Link href="/about">
<a>About</a>
</Link>
<h1>Home</h1>
</>
)
}

export default Index

0 comments on commit 9ab14de

Please sign in to comment.