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;
|
onLeave?: () => void;
|
||||||
};
|
};
|
||||||
const ActiveRoom = ({ roomName, userChoices, onLeave }: ActiveRoomProps) => {
|
const ActiveRoom = ({ roomName, userChoices, onLeave }: ActiveRoomProps) => {
|
||||||
const token = useToken({
|
const token = useToken(process.env.NEXT_PUBLIC_LK_TOKEN_ENDPOINT, roomName, {
|
||||||
tokenEndpoint: process.env.NEXT_PUBLIC_LK_TOKEN_ENDPOINT,
|
|
||||||
roomName,
|
|
||||||
userInfo: {
|
userInfo: {
|
||||||
identity: userChoices.username,
|
identity: userChoices.username,
|
||||||
name: userChoices.username,
|
name: userChoices.username,
|
||||||
|
|
Loading…
Reference in a new issue