This commit is contained in:
Atridad Lahiji 2023-08-08 12:28:47 -06:00
parent fdb7640a60
commit fc8a90ffc4
No known key found for this signature in database
GPG key ID: 7CB8245F56BC3880

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}`,
},