Unverified Commit f13ca305 authored by Taylor Bryant's avatar Taylor Bryant Committed by GitHub

Add names to components in hello-world example (#12416)

parent a59a15dd
export default () => <div>About us</div> export default function AboutPage() {
return <div>About us</div>
}
export default () => <div>Hello Day</div> export default function DayPage() {
return <div>Hello Day</div>
}
import Link from 'next/link' import Link from 'next/link'
export default () => (
export function IndexPage() {
return (
<div> <div>
Hello World.{' '} Hello World.{' '}
<Link href="/about"> <Link href="/about">
<a>About</a> <a>About</a>
</Link> </Link>
</div> </div>
) )
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment