Skip to content

Commit

Permalink
Merge pull request #3420 from googol7/patch-3
Browse files Browse the repository at this point in the history
Update optimistic-ui.md to clarify component name
  • Loading branch information
hwillson authored May 24, 2018
2 parents c258d69 + 13a9fd1 commit deec455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/features/optimistic-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const UPDATE_COMMENT = gql`
const CommentPageWithData = () => (
<Mutation mutation={UPDATE_COMMENT}>
{mutate => {
<AddComment
addComment={({ commentId, commentContent }) =>
<Comment
updateComment={({ commentId, commentContent }) =>
mutate({
variables: { commentId, commentContent },
optimisticResponse: {
Expand Down

0 comments on commit deec455

Please sign in to comment.