Fix upgrade error (#22)

This commit is contained in:
lukasIO 2023-02-14 08:40:08 +00:00 committed by GitHub
parent f835372f66
commit b9654cea73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,9 +65,7 @@ type ActiveRoomProps = {
onLeave?: () => void;
};
const ActiveRoom = ({ roomName, userChoices, onLeave }: ActiveRoomProps) => {
const token = useToken({
tokenEndpoint: process.env.NEXT_PUBLIC_LK_TOKEN_ENDPOINT,
roomName,
const token = useToken(process.env.NEXT_PUBLIC_LK_TOKEN_ENDPOINT, roomName, {
userInfo: {
identity: userChoices.username,
name: userChoices.username,