fix imports in component
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
import { type JitsiMeetExternalAPIOptions, JitsiMeetExternalAPI } from './jitsi-iframe-api.js';
|
||||
import type {
|
||||
JitsiMeetExternalAPIOptions,
|
||||
JitsiMeetExternalAPI
|
||||
} from '$lib/jitsi-iframe-api.d.ts';
|
||||
import type { ClassValue } from 'svelte/elements';
|
||||
|
||||
interface Props {
|
||||
@@ -34,7 +37,7 @@
|
||||
}
|
||||
|
||||
// Initialize the Jitsi Meet External API
|
||||
api = new JitsiMeetExternalAPI(new URL(domain).host, {
|
||||
api = new window.JitsiMeetExternalAPI(new URL(domain).host, {
|
||||
...options,
|
||||
parentNode: container
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user