From 894474704ba7b82201c6bfc704fd5fc73d07dc77 Mon Sep 17 00:00:00 2001 From: Nathnael Date: Mon, 6 Jul 2026 13:58:52 +0000 Subject: [PATCH] fix: unused var --- .../portal/src/components/AppLayout.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/apps/edr-freight-web/portal/src/components/AppLayout.tsx b/apps/edr-freight-web/portal/src/components/AppLayout.tsx index 02df1f3e9..901c492c8 100644 --- a/apps/edr-freight-web/portal/src/components/AppLayout.tsx +++ b/apps/edr-freight-web/portal/src/components/AppLayout.tsx @@ -32,12 +32,7 @@ import { User, X, } from "lucide-react"; -import { - type CSSProperties, - Fragment, - type ReactNode, - useState, -} from "react"; +import { type CSSProperties, Fragment, type ReactNode, useState } from "react"; import { PROFILE_TYPE_LABELS } from "@/constants/profileMode"; import NotificationBellContainer from "@/features/notifications/NotificationBellContainer"; @@ -159,7 +154,6 @@ export function AppLayout({ const borderColor = theme.colors["edr-border"][6]; const mutedColor = theme.colors["edr-muted"][6]; const textColor = theme.colors["edr-text"][6]; - const accentColor = theme.colors["edr-accent"][6]; const primaryColor = theme.colors["edr-green"][5]; const primaryDarkColor = theme.colors["edr-green"][7]; @@ -469,7 +463,9 @@ export function AppLayout({ } color="edr-green" - onClick={() => navigate("/bookings/new", { state: { fresh: true } })} + onClick={() => + navigate("/bookings/new", { state: { fresh: true } }) + } > New Booking