From ffc666f5d9e47404e838ab46b38ea73c8388b7b5 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Sat, 29 Jul 2023 00:04:28 +0200 Subject: [PATCH] change app.tsx --- client/src/app.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/app.tsx b/client/src/app.tsx index ce40e0e..69afb7d 100644 --- a/client/src/app.tsx +++ b/client/src/app.tsx @@ -12,10 +12,11 @@ import './app.css'; export const GameIdContext = React.createContext(undefined); function App() { - const params = useParams(); + const params = useParams() + const gameId = "g/" + params.owner + "/" + params.repo return (
- +