🩹(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:
committed by
aleb_the_flash
parent
ccc23ff46a
commit
028f20375f
@@ -98,7 +98,7 @@ export const ParticipantsList = () => {
|
||||
<RiCloseLine />
|
||||
</Button>
|
||||
</Div>
|
||||
{participants?.length && (
|
||||
{participants?.length > 0 && (
|
||||
<VStack
|
||||
role="list"
|
||||
className={css({
|
||||
|
||||
Reference in New Issue
Block a user