Remove unnecessary usage of a roomIdOrAlias

In most cases the `roomId` was used despite the name of the variable.
This commit is contained in:
Daniel Abramov
2023-07-04 18:46:27 +01:00
parent 7f9157bae1
commit f3de341a4b
9 changed files with 27 additions and 37 deletions

View File

@@ -77,7 +77,6 @@ export const RoomPage: FC = () => {
(groupCall: GroupCall) => (
<GroupCallView
client={client!}
roomIdOrAlias={roomIdOrAlias}
groupCall={groupCall}
isPasswordlessUser={passwordlessUser}
isEmbedded={isEmbedded}
@@ -85,7 +84,7 @@ export const RoomPage: FC = () => {
hideHeader={hideHeader}
/>
),
[client, roomIdOrAlias, passwordlessUser, isEmbedded, preload, hideHeader]
[client, passwordlessUser, isEmbedded, preload, hideHeader]
);
if (loading || isRegistering) {