From a69b6cd5b60becc5e3bb8ba6adf4106140aeb79b Mon Sep 17 00:00:00 2001 From: Tino Marques <59707674+tinomarques@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:45:55 -0500 Subject: [PATCH] Fix: Spacing, truncate, and scroll css in DesktopSidebar component (#3134) --- web/components/layout/auth/DesktopSidebar.tsx | 106 +++++++----------- web/components/layout/orgDropdown.tsx | 10 +- 2 files changed, 44 insertions(+), 72 deletions(-) diff --git a/web/components/layout/auth/DesktopSidebar.tsx b/web/components/layout/auth/DesktopSidebar.tsx index 2d067190b..9657d2660 100644 --- a/web/components/layout/auth/DesktopSidebar.tsx +++ b/web/components/layout/auth/DesktopSidebar.tsx @@ -22,7 +22,6 @@ import EndOnboardingConfirmation from "@/components/templates/onboarding/EndOnbo import { Dialog } from "@/components/ui/dialog"; import { DialogContent } from "@/components/ui/dialog"; import CreateOrgForm from "@/components/templates/organization/createOrgForm"; -import { useJawnClient } from "@/lib/clients/jawnHook"; import { useUser } from "@supabase/auth-helpers-react"; export interface NavigationItem { @@ -188,8 +187,6 @@ const DesktopSidebar = ({ useState(false); const [showCreateOrg, setShowCreateOrg] = useState(false); - const jawn = useJawnClient(); - return ( <> {/* Mobile hamburger menu */} @@ -241,41 +238,41 @@ const DesktopSidebar = ({ )} >