From 7eb129f01b5ce00d99838f836152d17488e5b59c Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 28 Dec 2022 21:51:44 -0800 Subject: [PATCH] Remove stuff from LoginModal --- components/LoginModal/index.tsx | 7 ------- 1 file changed, 7 deletions(-) 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,}))$/