diff --git a/solutions/05-CRUD/pages/edit.js b/solutions/05-CRUD/pages/edit.js index f7877ad..6f1277b 100644 --- a/solutions/05-CRUD/pages/edit.js +++ b/solutions/05-CRUD/pages/edit.js @@ -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, {