Don't add space when there are 0 groups
This commit is contained in:
parent
53a94e2f24
commit
dd7db502b4
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user