Skip to content

Commit

Permalink
Production release PR (#2316)
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 authored Dec 15, 2023
2 parents adc0fee + 096d50e commit 4d38caa
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,18 @@ export const GridLayout = ({
};

useEffect(() => {
if (mainPage !== 0 || pageSize === 0) {
setSortedPeers(updatedPeers);
if (mainPage !== 0) {
peersSorter.stop();
return;
}
peersSorter.setPeersAndTilesPerPage({
peers: updatedPeers,
tilesPerPage: pageSize,
});
peersSorter.onUpdate(setSortedPeers);
return () => {
peersSorter.stop();
};
}, [mainPage, peersSorter, updatedPeers, pageSize]);

if (peerSharing) {
Expand Down

2 comments on commit 4d38caa

@vercel
Copy link

@vercel vercel bot commented on 4d38caa Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

storybook-app – ./packages/roomkit-react

storybook-app-100mslive.vercel.app
storybook-app-git-production-100mslive.vercel.app
storybook-app-five.vercel.app
ui.100ms.live

@vercel
Copy link

@vercel vercel bot commented on 4d38caa Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.