mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 20:59:05 +00:00
room url copy button for ics
This commit is contained in:
@@ -4,6 +4,7 @@ import { Flex, Link, Button, Text, HStack } from "@chakra-ui/react";
|
||||
import NextLink from "next/link";
|
||||
import Image from "next/image";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { roomUrl } from "../lib/routes";
|
||||
|
||||
interface MeetingMinimalHeaderProps {
|
||||
roomName: string;
|
||||
@@ -30,7 +31,7 @@ export default function MeetingMinimalHeader({
|
||||
if (onLeave) {
|
||||
onLeave();
|
||||
} else {
|
||||
router.push(`/${roomName}`);
|
||||
router.push(roomUrl(roomName));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user