From 73bbfc6e74b0494422ea3020aa8f0b062bdab03d Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Wed, 11 May 2022 14:58:27 -0700 Subject: [PATCH] Remove unnecessary wrapper div around sidebar --- web/components/nav/nav-bar.tsx | 2 +- web/components/nav/sidebar.tsx | 5 +++-- web/components/page.tsx | 4 +--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/web/components/nav/nav-bar.tsx b/web/components/nav/nav-bar.tsx index f92f6630..cab369fb 100644 --- a/web/components/nav/nav-bar.tsx +++ b/web/components/nav/nav-bar.tsx @@ -137,7 +137,7 @@ export function MobileSidebar(props: {
- +
diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 80376b6c..f08403df 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -110,7 +110,8 @@ function MoreButton() { ) } -export default function Sidebar() { +export default function Sidebar(props: { className?: string }) { + const { className } = props const router = useRouter() const currentPage = router.pathname @@ -124,7 +125,7 @@ export default function Sidebar() { user === null ? signedOutMobileNavigation : mobileNavigation return ( -