Skip to content

Commit

Permalink
revert: message update
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed Sep 25, 2024
1 parent 1bd22cb commit dbfc062
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useEffect, useState } from 'react';
import { useMedia } from 'react-use';
import { selectPeerCount, useHMSStore } from '@100mslive/react-sdk';
import { PeopleAddIcon } from '@100mslive/react-icons';
import { Flex } from '../../../Layout';
import { config as cssConfig } from '../../../Theme';
Expand All @@ -18,7 +17,6 @@ export function EqualProminence({ isInsetEnabled = false, peers, onPageChange, o
const isMobile = useMedia(cssConfig.media.md);
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
const peerCount = useHMSStore(selectPeerCount);
const pageList = usePagesWithTiles({
peers,
maxTileCount,
Expand Down Expand Up @@ -53,8 +51,8 @@ export function EqualProminence({ isInsetEnabled = false, peers, onPageChange, o
)}
{pageList.length === 0 ? (
<WaitingView
title={peerCount <= 1 ? "You're the only one here" : 'Glad to have you here'}
subtitle={peerCount <= 1 ? 'Sit back and relax till others join' : ''}
title="You're the only one here"
subtitle="Sit back and relax till others join"
icon={<PeopleAddIcon width="56px" height="56px" style={{ color: 'white' }} />}
/>
) : null}
Expand Down

0 comments on commit dbfc062

Please sign in to comment.