From 6b422d649a2de9e7199804b7e681e7964c7a3b68 Mon Sep 17 00:00:00 2001 From: dylan <> Date: Sun, 31 Mar 2024 20:04:28 -0700 Subject: [PATCH] fix version issue --- src/client/GamePage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/GamePage.tsx b/src/client/GamePage.tsx index 4ffa959..52c27a1 100644 --- a/src/client/GamePage.tsx +++ b/src/client/GamePage.tsx @@ -17,7 +17,7 @@ export const GamePage = () => { const fetchInfo = async () => { let url = `/api/release?author=${author}&slug=${slug}`; if (version) { - url += `version=${version}`; + url += `&version=${version.slice(1)}`; } const information = await fetch(url); const json = await information.json(); @@ -66,7 +66,7 @@ export const GamePage = () => { display: flex; justify-content: end; `}> - Version: navigate(`/u/${author}/${slug}/v${version}`)}> { info.versions.map(v => (