From 5d810ac02dbc37a8e9c3a0df2132d8ec33b2c4d8 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 28 Jan 2024 21:51:43 -0500 Subject: [PATCH] chore: Hide sidebar section on empty --- app/components/Sidebar/components/Section.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/components/Sidebar/components/Section.ts b/app/components/Sidebar/components/Section.ts index 64f4d3933..815b044aa 100644 --- a/app/components/Sidebar/components/Section.ts +++ b/app/components/Sidebar/components/Section.ts @@ -11,6 +11,10 @@ const Section = styled(Flex)` &:first-child { margin-top: 20px; } + + &:empty { + display: none; + } `; export default Section;