Remove stuff from LoginModal
This commit is contained in:
parent
84aa355ad8
commit
7eb129f01b
1 changed files with 0 additions and 7 deletions
|
|
@ -7,7 +7,6 @@ import axios, { AxiosError, AxiosResponse } from 'axios'
|
||||||
import api from '~utils/api'
|
import api from '~utils/api'
|
||||||
import { accountState } from '~utils/accountState'
|
import { accountState } from '~utils/accountState'
|
||||||
|
|
||||||
import Alert from '~components/Alert'
|
|
||||||
import Button from '~components/Button'
|
import Button from '~components/Button'
|
||||||
import Input from '~components/Input'
|
import Input from '~components/Input'
|
||||||
import {
|
import {
|
||||||
|
|
@ -28,12 +27,6 @@ interface ErrorMap {
|
||||||
password: string
|
password: string
|
||||||
}
|
}
|
||||||
|
|
||||||
interface GranblueAxiosError {
|
|
||||||
response: AxiosResponse<any, any>
|
|
||||||
request: any
|
|
||||||
code: number
|
|
||||||
}
|
|
||||||
|
|
||||||
const emailRegex =
|
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,}))$/
|
/^(([^<>()\[\]\\.,;:\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,}))$/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue