From dd84849867a8cbfe0f01283ffc32ce35b5fe02c6 Mon Sep 17 00:00:00 2001 From: adhi0331 Date: Fri, 14 Jun 2024 23:31:15 -0500 Subject: [PATCH] ran lint fix --- frontend/src/hooks/redirect.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/hooks/redirect.tsx b/frontend/src/hooks/redirect.tsx index 006f8e1..1dbb315 100644 --- a/frontend/src/hooks/redirect.tsx +++ b/frontend/src/hooks/redirect.tsx @@ -53,7 +53,8 @@ export const useRedirection = ({ checkShouldRedirect, redirectURL }: UseRedirect */ export const useRedirectToHomeIfSignedIn = () => { useRedirection({ - checkShouldRedirect: ({ firebaseUser, piaUser }) => firebaseUser !== null && piaUser !== null && piaUser.approvalStatus, + checkShouldRedirect: ({ firebaseUser, piaUser }) => + firebaseUser !== null && piaUser !== null && piaUser.approvalStatus, redirectURL: HOME_URL, }); };