fix(mobile-pagination):incorrect number of columns

This commit is contained in:
Hristo Terezov 2021-08-27 16:56:46 -05:00
parent c2ffcdc67e
commit aff976d53d
1 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@ StateListenerRegistry.register(
/* selector */ state => {
const participantCount = getParticipantCountWithFake(state);
if (participantCount < 5) { // the dimensions are updated only when the participant count is lower than 5.
if (participantCount < 6) { // the dimensions are updated only when the participant count is lower than 6.
return participantCount;
}
return 4; // make sure we don't update the dimensions.
return 5; // make sure we don't update the dimensions.
},
/* listener */ (_, store) => {
const state = store.getState();