diff --git a/components/LoginModal/index.tsx b/components/LoginModal/index.tsx index c9fa38ed..3da83c0d 100644 --- a/components/LoginModal/index.tsx +++ b/components/LoginModal/index.tsx @@ -7,7 +7,6 @@ import axios, { AxiosError, AxiosResponse } from 'axios' import api from '~utils/api' import { accountState } from '~utils/accountState' -import Alert from '~components/Alert' import Button from '~components/Button' import Input from '~components/Input' import { @@ -28,12 +27,6 @@ interface ErrorMap { password: string } -interface GranblueAxiosError { - response: AxiosResponse - request: any - code: number -} - const emailRegex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/