Fix version switching and silent cart

This commit is contained in:
dylan
2024-03-31 20:37:18 -07:00
parent 54ea14af63
commit b88bd7fe1e
2 changed files with 32 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ export const GamePage = () => {
const {author, slug, version} = useParams();
const navigate = useNavigate();
const [info, setInfo] = useState<Info | null>(null);
useEffect(() => {
const fetchInfo = async () => {
let url = `/api/release?author=${author}&slug=${slug}`;