Skip to content

Commit 7b2e7ad

Browse files
committed
fix: hide the input field while connecting
1 parent ae9c828 commit 7b2e7ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/RoomScreen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function RoomContainer({ roomName, onLeave }) {
258258
</div>
259259
</div>
260260

261-
<div className="vp-chat-input-bar">
261+
{remoteParticipants.length > 0 && <div className="vp-chat-input-bar">
262262
<div className="vp-chat-input-container">
263263
<input
264264
className="vp-chat-input"
@@ -272,7 +272,7 @@ function RoomContainer({ roomName, onLeave }) {
272272
<SendHorizonal size={20} color="white" />
273273
</button>
274274
</div>
275-
</div>
275+
</div>}
276276
</div>
277277
);
278278
}

0 commit comments

Comments
 (0)