diff --git a/frontend/src/lib/components/SilentCapture.svelte b/frontend/src/lib/components/SilentCapture.svelte index 5d8e3e9..2f105ac 100644 --- a/frontend/src/lib/components/SilentCapture.svelte +++ b/frontend/src/lib/components/SilentCapture.svelte @@ -3,9 +3,10 @@ interface Props { oncapture: (base64: string, mediaType: string, thumbnailBase64: string) => void; + onunpair?: () => void; } - let { oncapture }: Props = $props(); + let { oncapture, onunpair }: Props = $props(); let videoElement: HTMLVideoElement | null = $state(null); let stream: MediaStream | null = $state(null); @@ -123,4 +124,12 @@