fetching team data

This commit is contained in:
Arjun Patel
2022-01-15 13:02:44 -08:00
parent 39705c0493
commit 724b8c8e38
5 changed files with 115 additions and 7 deletions
+4 -1
View File
@@ -112,7 +112,10 @@ export default function CreateTeam() {
<span className="flex flex-row justify-end space-x-2">
<button
onClick={() => router.push("/teams")}
onClick={(e) => {
e.preventDefault();
router.push("/teams");
}}
className="bg-gray-100 py-2 px-5 rounded text-gray-400"
>
Cancel