Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenstar74 committed Aug 16, 2024
1 parent 3965a7f commit 957cba4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/features/auth/hooks/useLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function useLogin() {
* @returns true if login was successful, false otherwise
*/


async function loginGoogleUser(emailCookie: string): Promise<boolean> {
try {
const data = await postGoogleLogin(emailCookie);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/UserAUnauthorizedPages/LoginPage.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { useEffect, useState } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
import Cookies from 'js-cookie';

import ROUTES from 'router/RouteConfig';
import { CmBackButton, Page, PageContent } from 'shared/components';

import { LoginForm, RequestPasswordResetModal, useLogin, useResetPassword } from 'features/auth';

import { useMobileView } from 'shared/hooks';
import Cookies from 'js-cookie';

function LoginPage() {
const navigate = useNavigate();
Expand Down

0 comments on commit 957cba4

Please sign in to comment.