diff --git a/api/src/graphql/users.sdl.js b/api/src/graphql/users.sdl.js index 52c3411..366075d 100644 --- a/api/src/graphql/users.sdl.js +++ b/api/src/graphql/users.sdl.js @@ -15,14 +15,14 @@ export const schema = gql` input CreateUserInput { email: String! - issuer: String! + # issuer: String! image: String bio: String } input UpdateUserInput { email: String - issuer: String + # issuer: String image: String bio: String } diff --git a/web/src/components/PartForm/ImageUploader.js b/web/src/components/PartForm/ImageUploader.js index b88023e..0314a13 100644 --- a/web/src/components/PartForm/ImageUploader.js +++ b/web/src/components/PartForm/ImageUploader.js @@ -117,3 +117,4 @@ function getCroppedImg(image, crop, fileName) { }, 'image/jpeg', 1); }); } + diff --git a/web/src/components/User/User.js b/web/src/components/User/User.js index 2b50035..bc23faf 100644 --- a/web/src/components/User/User.js +++ b/web/src/components/User/User.js @@ -1,6 +1,6 @@ import { useMutation, useFlash } from '@redwoodjs/web' import { Link, routes, navigate } from '@redwoodjs/router' - +import { Image as CloudinaryImage } from 'cloudinary-react' const DELETE_USER_MUTATION = gql` mutation DeleteUserMutation($id: Int!) { deleteUser(id: $id) { @@ -72,7 +72,13 @@ const User = ({ user }) => {