aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-07-13 20:34:31 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-07-13 20:34:31 -0700
commit909b1adda19e88d7e05cb207b81e51e2022a5358 (patch)
tree7a697a8beb1d9175a8e931530046bb7d6968efc1 /modern/src
parent31026c731b6b30c8b4207fc2ab86edf3cca0acda (diff)
downloadtrackermap-web-909b1adda19e88d7e05cb207b81e51e2022a5358.tar.gz
trackermap-web-909b1adda19e88d7e05cb207b81e51e2022a5358.tar.bz2
trackermap-web-909b1adda19e88d7e05cb207b81e51e2022a5358.zip
Fix lint
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/components/registration/LoginForm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/components/registration/LoginForm.js b/modern/src/components/registration/LoginForm.js
index d8dc6967..e6da05e3 100644
--- a/modern/src/components/registration/LoginForm.js
+++ b/modern/src/components/registration/LoginForm.js
@@ -43,7 +43,7 @@ const LoginForm = () => {
event.preventDefault();
const response = await fetch('/api/session', {
method: 'POST',
- body: new URLSearchParams(`email=${encodeURIComponent(email)}&password=${encodeURIComponent(password)}`)
+ body: new URLSearchParams(`email=${encodeURIComponent(email)}&password=${encodeURIComponent(password)}`),
});
if (response.ok) {
const user = await response.json();