Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Aug 2, 2018
1 parent 106f93f commit f68acbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/examples/painter/src/views/canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export default function Canvas({ pixels, height, width, send }) {
strokeWidth={0.25 / scaleX}
strokeOpacity="0.2"
>
{pixels.map((row, y) => <Row key={y} cells={row} y={y} />)}
{pixels.map((row, y) => (
<Row key={y} cells={row} y={y} />
))}
</g>
</svg>
)
Expand Down
4 changes: 3 additions & 1 deletion packages/micromanage/example/src/views/posts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ function Posts({ data, meta, loading, error }) {
<Range page={meta.page} total={meta.total} count={meta.count} />
</header>

{data.map(post => <Post key={post.id} post={post} />)}
{data.map(post => (
<Post key={post.id} post={post} />
))}

<footer className="home-meta">
<Paginator page={data.page} />
Expand Down

0 comments on commit f68acbc

Please sign in to comment.