From a51f662419be188bb1862afd7bcbee78c83f4f57 Mon Sep 17 00:00:00 2001 From: aadalal <57609353+AaDalal@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:52:07 -0400 Subject: [PATCH] linting --- frontend/alert/pages/index.tsx | 1 + frontend/degree-plan/components/Dock/Dock.tsx | 1 + frontend/shared-components/src/accounts/AccountIndicator.tsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/alert/pages/index.tsx b/frontend/alert/pages/index.tsx index 6acf563f2..d9508ee9b 100644 --- a/frontend/alert/pages/index.tsx +++ b/frontend/alert/pages/index.tsx @@ -80,6 +80,7 @@ const Nav = ({ login, logout, user, page, setPage }: NavProps) => ( nameLength={2} login={login} logout={logout} + pathname={window.location.pathname} /> { login={login} logout={logout} dropdownTop={true} + pathname={window.location.pathname} /> { setSearchRuleQuery(""); diff --git a/frontend/shared-components/src/accounts/AccountIndicator.tsx b/frontend/shared-components/src/accounts/AccountIndicator.tsx index 1b262b1d9..290c5ef44 100644 --- a/frontend/shared-components/src/accounts/AccountIndicator.tsx +++ b/frontend/shared-components/src/accounts/AccountIndicator.tsx @@ -11,7 +11,7 @@ import type { User } from "../../../plan/types"; */ const AccountIndicator: React.FC<{ - user: User; + user: User | null | undefined; login: (user: any) => void; logout: () => void; leftAligned?: boolean;