We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e216426 commit 26319b2Copy full SHA for 26319b2
solutions/05-CRUD/pages/edit.js
@@ -11,6 +11,7 @@ const EditNote = props => {
11
const id = props.match.params.id;
12
// define our note query
13
const { loading, error, data } = useQuery(GET_NOTE, { variables: { id } });
14
+ // fetch the current user's data
15
const { data: userdata } = useQuery(GET_ME);
16
// define our mutation
17
const [editNote] = useMutation(EDIT_NOTE, {
0 commit comments