chore: remove the unused hook

This commit is contained in:
Ahmed Bouhuolia
2024-05-15 14:03:34 +02:00
parent 3f68d11062
commit 4f30f72d36

View File

@@ -1,7 +1,7 @@
// @ts-nocheck // @ts-nocheck
import intl from 'react-intl-universal'; import intl from 'react-intl-universal';
import { Formik } from 'formik'; import { Formik } from 'formik';
import { Link, useHistory } from 'react-router-dom'; import { Link } from 'react-router-dom';
import { Intent } from '@blueprintjs/core'; import { Intent } from '@blueprintjs/core';
import { AppToaster, FormattedMessage as T } from '@/components'; import { AppToaster, FormattedMessage as T } from '@/components';
@@ -40,8 +40,7 @@ export default function RegisterUserForm() {
authLoginMutate({ authLoginMutate({
crediential: values.email, crediential: values.email,
password: values.password, password: values.password,
}) }).catch(
.catch(
({ ({
response: { response: {
data: { errors }, data: { errors },