adding admin route

This commit is contained in:
Arjun Patel
2022-01-14 01:55:57 -08:00
parent 320fd5bd0a
commit a44890a607
+12
View File
@@ -0,0 +1,12 @@
import { useRouter } from 'next/router'
export default function TeamAdmin() {
const router = useRouter()
const { teamid } = router.query
// check if the team is a valid team route and show the dashboard for the team
return (
<span>this is the admin page for team: {teamid}</span>
)
}