Skip to content

Commit 65aee31

Browse files
committed
asd
1 parent 79ef9c6 commit 65aee31

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pages/login/login.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default () => {
99
const form = document.querySelector("form");
1010
form.addEventListener("click", (event) => {
1111
event.preventDefault();
12-
console.log(2);
1312

1413
fetch(`${window.apiUrl}/api/auth/signin`, {
1514
method: "POST",
@@ -26,7 +25,6 @@ export default () => {
2625
.then((data) => {
2726
if (data.accessToken) {
2827
// Saving the JWT to local storage
29-
console.log(data);
3028
localStorage.setItem("user", JSON.stringify(data));
3129
window.router.navigate(`/user/${data.id}`);
3230
}

0 commit comments

Comments
 (0)