update game url to use game code directly
This commit is contained in:
@@ -9,7 +9,7 @@ export default function JoinButton({ code }: { code: string }) {
|
||||
|
||||
function handleJoin() {
|
||||
startTransition(() => {
|
||||
router.push(`/game/${code}`);
|
||||
router.push(`/${code}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user