Update error modal styling

This commit is contained in:
Robert Long
2021-12-10 16:22:42 -08:00
parent c5654e4398
commit aa988e9f4a
3 changed files with 63 additions and 32 deletions

View File

@@ -83,7 +83,11 @@ export function Room() {
}
if (registrationError || error) {
return <ErrorModal error={registrationError || error} />;
return (
<div className={styles.room}>
<ErrorModal error={registrationError || error} />
</div>
);
}
return <GroupCall client={client} />;
@@ -108,11 +112,7 @@ export function GroupCall({ client }) {
}, [groupCall]);
if (loading) {
return (
<div className={styles.room}>
<LoadingRoomView />
</div>
);
return <LoadingRoomView />;
}
if (error) {