Don't add space when there are 0 groups

This commit is contained in:
Austin Chen 2022-06-29 12:48:04 -05:00
parent 53a94e2f24
commit dd7db502b4

View File

@ -230,7 +230,7 @@ export default function Sidebar(props: { className?: string }) {
buttonContent={<MoreButton />} buttonContent={<MoreButton />}
/> />
<Spacer h={6} /> {memberItems.length > 0 && <Spacer h={6} />}
<GroupsList currentPage={currentPage} memberItems={memberItems} /> <GroupsList currentPage={currentPage} memberItems={memberItems} />
</div> </div>
</nav> </nav>