Skip to content

Commit 26319b2

Browse files
committed
clearer comment
1 parent e216426 commit 26319b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solutions/05-CRUD/pages/edit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const EditNote = props => {
1111
const id = props.match.params.id;
1212
// define our note query
1313
const { loading, error, data } = useQuery(GET_NOTE, { variables: { id } });
14+
// fetch the current user's data
1415
const { data: userdata } = useQuery(GET_ME);
1516
// define our mutation
1617
const [editNote] = useMutation(EDIT_NOTE, {

0 commit comments

Comments
 (0)