Skip to content

Commit

Permalink
Upgrade Prettier
Browse files Browse the repository at this point in the history
Fixes #30
  • Loading branch information
captbaritone committed Aug 29, 2017
1 parent aaa5527 commit 7f38205
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ document.getElementById("set-state").addEventListener("click", () => {
});
});

const Button = () =>
const Button = () => (
<button
onClick={() => {
store.dispatch({ type: "CRASH_IN_THE_REDUCER" });
}}
>
Click to crash
</button>;
</button>
);

render(<Button />, document.getElementById("react-app"));

Expand Down

0 comments on commit 7f38205

Please sign in to comment.