From 34346b1fd4fffd2571374f86b16084066dc4aa2d Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 6 Jun 2024 19:24:45 -0400 Subject: add seperate uploading page and update match backend functionality --- src/components/Game.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/components/Game.tsx (limited to 'src/components/Game.tsx') diff --git a/src/components/Game.tsx b/src/components/Game.tsx new file mode 100644 index 0000000..51d5b3e --- /dev/null +++ b/src/components/Game.tsx @@ -0,0 +1,20 @@ +//import React, { useState, useEffect } from "react"; +import { useParams } from "react-router-dom"; + +//} /> + +//export default () => ( +export default function Games () { + const { game } = useParams(); +//http://%{VITE_API_TITLE}/api/v1/game/realtradam/orc-arena-of-time/index.html + return( + <> +
+
+
{game}
+ +
+
+ + ); +} -- cgit v1.2.3