remove unused imports

This commit is contained in:
2024-06-19 06:32:38 +01:00
parent e4a1903b48
commit b0e2bb6e14
263 changed files with 1458 additions and 2693 deletions
+5 -22
View File
@@ -1,30 +1,14 @@
import _ from "lodash";
import Link from "next/link";
import React, { useEffect, useState } from "react";
import { useRouter } from "next/router";
import useTranslation from "next-translate/useTranslation";
import Link from "next/link";
import { useRouter } from "next/router";
import React, { useEffect, useState } from "react";
import { JSONPath as jsonpath } from "jsonpath-plus";
import {
Field,
reduxForm,
formValueSelector,
getFormSubmitErrors,
} from "redux-form";
import {
useDispatch,
useSelector,
shallowEqual,
connect,
setRegisterFormComplete,
setAccountCreatedComplete,
} from "react-redux";
import { connect } from "react-redux";
import { setAccCr, setLogout } from "../../store/accountDetails/action";
import { useSession, signIn, signOut } from "next-auth/react";
import { parseCookies, setCookie, destroyCookie } from "nookies";
import { getEmailAccountCheck, createAccount } from "../../actions";
import { createAccount, getEmailAccountCheck } from "../../actions";
const RegisterComplete = (props) => {
const {
@@ -69,7 +53,6 @@ const RegisterComplete = (props) => {
? setAccCr("exists")
: (checkEmailObj = createAccount(accountBody).then(
(data) => {
//console.log(data);
setAccCr("created");
}
));