|
1 | 1 | /* eslint-disable */ |
2 | | -import { useApolloClient, useLazyQuery, useMutation } from '@apollo/client'; |
3 | | -import React, { useContext, useState, useEffect } from 'react'; |
| 2 | +import { useLazyQuery, useMutation } from '@apollo/client'; |
| 3 | +import React, { useContext, useEffect, useState } from 'react'; |
4 | 4 | import { useForm } from 'react-hook-form'; |
5 | 5 |
|
| 6 | +import jwt_decode from 'jwt-decode'; |
6 | 7 | import { useTranslation } from 'react-i18next'; |
7 | | -import { FaGoogle, FaRegEnvelope, FaRegEye } from 'react-icons/fa'; |
| 8 | +import { FaRegEnvelope, FaRegEye } from 'react-icons/fa'; |
8 | 9 | import { FiEyeOff } from 'react-icons/fi'; |
9 | 10 | import { MdLockOutline } from 'react-icons/md'; |
10 | 11 | import { Link, useLocation, useNavigate } from 'react-router-dom'; |
11 | 12 | import { toast } from 'react-toastify'; |
12 | 13 | import ButtonLoading from '../../components/ButtonLoading'; |
13 | 14 | import Button from '../../components/Buttons'; |
| 15 | +import ControlledSelect from '../../components/ControlledSelect'; |
14 | 16 | import { UserContext } from '../../hook/useAuth'; |
15 | 17 | import useDocumentTitle from '../../hook/useDocumentTitle'; |
16 | | -import { SIGN_UP_MUTATION, GET_SIGNUP_ORGANIZATION } from './Mutations'; |
17 | | -import ControlledSelect from '../../components/ControlledSelect'; |
18 | | -import jwt_decode from 'jwt-decode'; |
| 18 | +import { GET_SIGNUP_ORGANIZATION, SIGN_UP_MUTATION } from './Mutations'; |
19 | 19 |
|
20 | 20 | const Signup = () => { |
21 | 21 | const token: any = window.location.href.substring( |
|
0 commit comments