Skip to content

Commit

Permalink
Example with-react-relay-network-modern: fix prettier errors
Browse files Browse the repository at this point in the history
  • Loading branch information
messa committed Mar 11, 2020
1 parent 4960fc9 commit 20e3459
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -6,9 +6,10 @@ const BlogPosts = props => {
return (
<div>
<h1>Blog posts</h1>
{props.viewer.allBlogPosts && props.viewer.allBlogPosts.edges.map(({ node }) => (
<BlogPostPreview key={node.id} post={node} />
))}
{props.viewer.allBlogPosts &&
props.viewer.allBlogPosts.edges.map(({ node }) => (
<BlogPostPreview key={node.id} post={node} />
))}
</div>
)
}
Expand Down
1 change: 0 additions & 1 deletion examples/with-react-relay-network-modern/pages/_app.js
Expand Up @@ -5,7 +5,6 @@ import NextApp from 'next/app'
import { initEnvironment, createEnvironment } from '../lib/createEnvironment'

export default class App extends NextApp {

static getInitialProps = async ({ Component, router, ctx }) => {
const { variables } = Component.getInitialProps
? await Component.getInitialProps(ctx)
Expand Down

0 comments on commit 20e3459

Please sign in to comment.