fix lints

This commit is contained in:
Timo K
2026-01-05 10:42:08 +01:00
parent df2f503a05
commit c35b960627

View File

@@ -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
) { ) {