Commit 7e692516 authored by aleclofabbro's avatar aleclofabbro

Merge branch 'fix/udate_profile_accidentally_logsout_user' into develop

parents a68edda1 f8da288f
......@@ -31,7 +31,7 @@ export const useMe = () => {
const [
updateProfileMutation,
updateProfileMutationStatus
] = GQL.useMeLogoutMutation();
] = GQL.useMeUpdateMyProfileMutation();
const { push } = useHistory();
const me = meQ.data?.me;
......
......@@ -48,9 +48,9 @@ const DropzoneArea: React.FC<Props> = ({
const {
getRootProps,
getInputProps,
isDragActive,
rejectedFiles,
acceptedFiles
isDragActive
// rejectedFiles,
// acceptedFiles
} = useDropzone({
accept: filePattern,
// maxSize: uploadMaxBytes,
......@@ -66,7 +66,7 @@ const DropzoneArea: React.FC<Props> = ({
}
});
// const rejectedFile = rejectedFiles[0];
console.log({ rejectedFiles, acceptedFiles });
// console.log({ rejectedFiles, acceptedFiles });
return (
<>
<Box sx={{ height: '100%' }} {...getRootProps({ className: 'dropzone' })}>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment