Move ...rest param
This commit is contained in:
@@ -48,7 +48,7 @@ export function OpenIDLoader({ client, roomName, ...rest }: Props) {
|
|||||||
if (error) {
|
if (error) {
|
||||||
return <ErrorView error={error} />;
|
return <ErrorView error={error} />;
|
||||||
} else if (sfuConfig) {
|
} else if (sfuConfig) {
|
||||||
return <ActiveCall client={client} {...rest} sfuConfig={sfuConfig} />;
|
return <ActiveCall client={client} sfuConfig={sfuConfig} {...rest} />;
|
||||||
} else {
|
} else {
|
||||||
return <LoadingView />;
|
return <LoadingView />;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user