compile fix

This commit is contained in:
Igor Loskutov
2025-09-02 19:12:04 -04:00
parent 1d5a22ad1d
commit 5e4f519c83
7 changed files with 38 additions and 27 deletions

View File

@@ -260,7 +260,9 @@ export default function Room(details: RoomDetails) {
const roomName = details.params.roomName;
const meeting = useRoomMeeting(roomName);
const router = useRouter();
const { isLoading, isAuthenticated } = useSessionStatus();
const status = useSessionStatus();
const isAuthenticated = status === "authenticated";
const isLoading = status === "loading" || meeting.loading;
const roomUrl = meeting?.response?.host_room_url
? meeting?.response?.host_room_url