mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-26 16:52:23 +00:00
More consistent variable naming
This commit is contained in:
1 parent
715c5c73ca
commit
f2435f1c31
2 files changed
+7
-7
No files matched your search
@@ -74,7 +74,7 @@ export function RegisteredView({ client }: Props) {
|
||||
setError(undefined);
|
||||
setLoading(true);
|
||||
|
||||
const roomCreateResult = await createRoom(
|
||||
const createRoomResult = await createRoom(
|
||||
client,
|
||||
roomName,
|
||||
e2eeEnabled ?? false
|
||||
@@ -82,9 +82,9 @@ export function RegisteredView({ client }: Props) {
|
||||
|
||||
history.push(
|
||||
getRelativeRoomUrl(
|
||||
roomCreateResult.roomId,
|
||||
createRoomResult.roomId,
|
||||
roomName,
|
||||
roomCreateResult.password
|
||||
createRoomResult.password
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -85,9 +85,9 @@ export const UnauthenticatedView: FC = () => {
|
||||
true
|
||||
);
|
||||
|
||||
let roomCreateResult;
|
||||
let createRoomResult;
|
||||
try {
|
||||
roomCreateResult = await createRoom(
|
||||
createRoomResult = await createRoom(
|
||||
client,
|
||||
roomName,
|
||||
e2eeEnabled ?? false
|
||||
@@ -122,9 +122,9 @@ export const UnauthenticatedView: FC = () => {
|
||||
setClient({ client, session });
|
||||
history.push(
|
||||
getRelativeRoomUrl(
|
||||
roomCreateResult.roomId,
|
||||
createRoomResult.roomId,
|
||||
roomName,
|
||||
roomCreateResult.password
|
||||
createRoomResult.password
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user