Fix upgrade error (#22)
This commit is contained in:
parent
f835372f66
commit
b9654cea73
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue