mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
consent preparation
This commit is contained in:
@@ -8,9 +8,11 @@ interface WherebyEmbedProps {
|
||||
onLeave?: () => void;
|
||||
}
|
||||
|
||||
export default function WherebyEmbed({ roomUrl, onLeave }: WherebyEmbedProps) {
|
||||
// currently used for webinars only
|
||||
export default function WherebyWebinarEmbed({ roomUrl, onLeave }: WherebyEmbedProps) {
|
||||
const wherebyRef = useRef<HTMLElement>(null);
|
||||
|
||||
// TODO extract common toast logic / styles to be used by consent toast on normal rooms
|
||||
const toast = useToast();
|
||||
useEffect(() => {
|
||||
if (roomUrl && !localStorage.getItem("recording-notice-dismissed")) {
|
||||
@@ -5,7 +5,7 @@ import Image from "next/image";
|
||||
import { notFound } from "next/navigation";
|
||||
import useRoomMeeting from "../../[roomName]/useRoomMeeting";
|
||||
import dynamic from "next/dynamic";
|
||||
const WherebyEmbed = dynamic(() => import("../../lib/WherebyEmbed"), {
|
||||
const WherebyEmbed = dynamic(() => import("../../lib/./WherebyWebinarEmbed"), {
|
||||
ssr: false,
|
||||
});
|
||||
import { FormEvent } from "react";
|
||||
|
||||
Reference in New Issue
Block a user