Skip to content

Commit

Permalink
#2709 typescript check and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaryan1203 committed Jul 23, 2024
1 parent 8a252ac commit 9e500cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/frontend/src/app/AppAuthenticated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ const AppAuthenticated: React.FC<AppAuthenticatedProps> = ({ userId, userRole })

useEffect(() => {
setIsGuestOnMemberPage(isGuest(userRole) && clickedFinishline);
console.log(isGuestOnMemberPage);
}, [userRole, clickedFinishline]);
}, [userRole, clickedFinishline, isGuestOnMemberPage]);

if (isLoading || !userSettingsData) return <LoadingIndicator />;

Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/tests/pages/HomePage/Home.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const renderComponent = () => {
const RouterWrapper = routerWrapperBuilder({ path: routes.HOME, route: routes.HOME });
return render(
<RouterWrapper>
<Home />
<Home clickedFinishline={true} setClickedFinishline={() => {}} />
</RouterWrapper>
);
};
Expand Down

0 comments on commit 9e500cd

Please sign in to comment.