Skip to content

Commit

Permalink
clearer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott1 committed Jan 26, 2020
1 parent e216426 commit 26319b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solutions/05-CRUD/pages/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const EditNote = props => {
const id = props.match.params.id;
// define our note query
const { loading, error, data } = useQuery(GET_NOTE, { variables: { id } });
// fetch the current user's data
const { data: userdata } = useQuery(GET_ME);
// define our mutation
const [editNote] = useMutation(EDIT_NOTE, {
Expand Down

0 comments on commit 26319b2

Please sign in to comment.