Skip to content

Commit

Permalink
docs: fix typo on successful mutation (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarampinis authored Dec 15, 2020
1 parent 253fe24 commit 73341ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/guides/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function App() {
<div>An error occurred: {mutation.error.message}</div>
) : null}

{mutation.isError ? <div>Todo added!</div> : null}
{mutation.isSuccess ? <div>Todo added!</div> : null}

<button
onClick={() => {
Expand Down

1 comment on commit 73341ba

@vercel
Copy link

@vercel vercel bot commented on 73341ba Dec 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.