changed styling of buttons

Signed-off-by: heyhiru <hirentimbadiya74@gmail.com>
Este commit está contenido en:
heyhiru
2023-11-12 21:25:52 +05:30
padre 140151d5ac
commit 344def7e45

Ver fichero

@@ -210,17 +210,6 @@ const RoomPage = () => {
height={300}
width={500}
/>
<div className='flex space-x-4 mt-4'>
<button className='joinButton' onClick={handleToggleAudio}>
{isAudioMute ? "Unmute" : "Mute"}
</button>
<button className='joinButton' onClick={handleToggleVideo}>
{isVideoOnHold ? "Resume Video" : "Hold Video"}
</button>
<button className='joinButton' onClick={handleEndCall}>
End Call
</button>
</div>
</div>
}
{
@@ -238,6 +227,20 @@ const RoomPage = () => {
</div>
}
</div>
{myStream &&
(
<div className='flex space-x-4 mt-4'>
<button className='joinButton' onClick={handleToggleAudio}>
{isAudioMute ? "Unmute" : "Mute"}
</button>
<button className='joinButton' onClick={handleToggleVideo}>
{isVideoOnHold ? "Resume Video" : "Hold Video"}
</button>
<button className='joinButton' onClick={handleEndCall}>
End Call
</button>
</div>
)}
</div>
)
}