wip
This commit is contained in:
@@ -2,13 +2,12 @@
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import TeamCard from '@/components/alpha/TeamCard';
|
||||
import TeamCard from '@/components/teams/TeamCard';
|
||||
import Button from '@/components/ui/Button';
|
||||
import Input from '@/components/ui/Input';
|
||||
import Card from '@/components/ui/Card';
|
||||
import CreateTeamForm from '@/components/alpha/CreateTeamForm';
|
||||
import DataWarning from '@/components/alpha/DataWarning';
|
||||
import { getAllTeams, getTeamMembers, Team } from '@/lib/team-data';
|
||||
import CreateTeamForm from '@/components/teams/CreateTeamForm';
|
||||
import { getAllTeams, getTeamMembers, type Team } from '@gridpilot/racing/application';
|
||||
|
||||
export default function TeamsPage() {
|
||||
const router = useRouter();
|
||||
@@ -52,7 +51,6 @@ export default function TeamsPage() {
|
||||
if (showCreateForm) {
|
||||
return (
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<DataWarning className="mb-6" />
|
||||
|
||||
<div className="mb-6">
|
||||
<Button
|
||||
@@ -75,9 +73,7 @@ export default function TeamsPage() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<DataWarning className="mb-6" />
|
||||
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<div className="flex items-center justify-between mb-8">
|
||||
<div>
|
||||
<h1 className="text-3xl font-bold text-white mb-2">Teams</h1>
|
||||
|
||||
Reference in New Issue
Block a user