This commit is contained in:
Atridad Lahiji 2023-08-08 12:28:47 -06:00 committed by atridadl
parent 251b4bc6d1
commit b34e6243c8
No known key found for this signature in database

View file

@ -2,7 +2,7 @@ import { type GetServerSideProps, type NextPage } from "next";
import Head from "next/head";
import Image from "next/image";
import { useEffect, useState } from "react";
import { EventType, EventTypes } from "~/utils/types";
import { EventTypes } from "~/utils/types";
import { useSession } from "next-auth/react";
import { useRouter } from "next/router";
@ -91,7 +91,7 @@ const RoomBody: React.FC = ({}) => {
},
});
const [channel] = useChannel(
useChannel(
{
channelName: `${env.NEXT_PUBLIC_APP_ENV}-${roomId}`,
},