🩹(frontend) avoid evaluating with 0 in ParticipantList

Even if the list is empty, previous assertion was returning true.
Fixed it, mybad, noob error.

In fact, the participants list should never be empty, as you are
in the meeting to access it.
This commit is contained in:
lebaudantoine
2024-08-14 16:38:43 +02:00
committed by aleb_the_flash
parent ccc23ff46a
commit 028f20375f

View File

@@ -98,7 +98,7 @@ export const ParticipantsList = () => {
<RiCloseLine />
</Button>
</Div>
{participants?.length && (
{participants?.length > 0 && (
<VStack
role="list"
className={css({