Skip to content

Commit

Permalink
Replace anonymous function with named function in gatsby-starter-hell…
Browse files Browse the repository at this point in the history
…o-world (gatsbyjs#24342)
  • Loading branch information
pranjaljately committed May 22, 2020
1 parent ae3a6c4 commit e86e7d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion starters/hello-world/src/pages/index.js
@@ -1,3 +1,5 @@
import React from "react"

export default () => <div>Hello world!</div>
export default function Home() {
return <div>Hello world!</div>
}

0 comments on commit e86e7d7

Please sign in to comment.