fix lints
This commit is contained in:
@@ -50,7 +50,7 @@ import { getSFUConfigWithOpenID } from "../livekit/openIDSFU";
|
|||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
client: MatrixClient;
|
client: MatrixClient;
|
||||||
roomId: string;
|
roomId?: string;
|
||||||
livekitRooms?: { room: LivekitRoom; url: string; isLocal?: boolean }[];
|
livekitRooms?: { room: LivekitRoom; url: string; isLocal?: boolean }[];
|
||||||
env: ImportMetaEnv;
|
env: ImportMetaEnv;
|
||||||
}
|
}
|
||||||
@@ -237,6 +237,7 @@ export const DeveloperSettingsTab: FC<Props> = ({
|
|||||||
onSave={useCallback(
|
onSave={useCallback(
|
||||||
async (e: React.FormEvent<HTMLFormElement>): Promise<void> => {
|
async (e: React.FormEvent<HTMLFormElement>): Promise<void> => {
|
||||||
if (
|
if (
|
||||||
|
roomId === undefined ||
|
||||||
customLivekitUrlTextBuffer === "" ||
|
customLivekitUrlTextBuffer === "" ||
|
||||||
customLivekitUrlTextBuffer === null
|
customLivekitUrlTextBuffer === null
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user