diff --git a/frontend/src/api/login.ts b/frontend/src/api/login.ts index 09760ff..62766e0 100644 --- a/frontend/src/api/login.ts +++ b/frontend/src/api/login.ts @@ -2,7 +2,8 @@ import axios, { AxiosResponse } from 'axios'; import Cookies from 'universal-cookie'; export default { - login: async (email: string, password: string, symbol: string, diaryUrl: string): Promise => { + login: async (email: string, password: string, symbol: string, diaryUrl: string) + : Promise => { const cookies = new Cookies(); const response = await axios({ method: 'POST', @@ -15,7 +16,7 @@ export default { loginName: email, Password: password, Symbol: symbol, - diaryUrl: diaryUrl, + diaryUrl, }, }); diff --git a/frontend/src/props/LoginForm.ts b/frontend/src/props/LoginForm.ts deleted file mode 100644 index 9c13c12..0000000 --- a/frontend/src/props/LoginForm.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface LoginForm { - login: String, - password: String, - domains: Array, - selectedSymbol: String -}