aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-18 18:22:10 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-18 18:22:10 +0300
commit5743ac759c5e46a4f2b82df91c4e8b40a3a47552 (patch)
tree93a35918b7faf33ccc703b88639d94b8259e038e /frontend/src/components
parentMerge branch 'typescript' of https://github.com/pektezol/LeastPortalsHub into... (diff)
downloadlphub-5743ac759c5e46a4f2b82df91c4e8b40a3a47552.tar.gz
lphub-5743ac759c5e46a4f2b82df91c4e8b40a3a47552.tar.bz2
lphub-5743ac759c5e46a4f2b82df91c4e8b40a3a47552.zip
refactor: nothing to see here
Diffstat (limited to 'frontend/src/components')
-rw-r--r--frontend/src/components/Login.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx
index f27a63e..a8c5503 100644
--- a/frontend/src/components/Login.tsx
+++ b/frontend/src/components/Login.tsx
@@ -17,8 +17,7 @@ const Login: React.FC<LoginProps> = ({ setToken, profile, setProfile }) => {
17 const navigate = useNavigate(); 17 const navigate = useNavigate();
18 18
19 const _login = () => { 19 const _login = () => {
20 setToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzExNjU1NTgsIm1vZCI6dHJ1ZSwic3ViIjoiNzY1NjExOTgxMzE2Mjk5ODkifQ.KoENjj6Z41-QQu1VKvgAiACsjLK7IoVWlJgrGdr6s24"); 20 window.location.href = "/api/v1/login";
21 // window.location.href = "/api/v1/login";
22 }; 21 };
23 22
24 const _logout = () => { 23 const _logout = () => {