File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import TeamMemberList from "@/components/team/TeamMemberList";
11
11
import { useAuth } from "@/context/AuthContext" ;
12
12
import axios from "axios" ;
13
13
import React , { useEffect , useState } from "react" ;
14
+ import DangerButton from "@/components/ui/DangerButton" ;
15
+ import { useRouter } from "next/navigation" ;
14
16
15
17
interface TeamMember {
16
18
id : string ;
@@ -62,6 +64,7 @@ const TeamPage = () => {
62
64
const [ loading , setLoading ] = useState ( true ) ;
63
65
const [ project , setProject ] = useState < Project | null > ( null ) ;
64
66
const [ error , setError ] = useState ( "" ) ;
67
+ const router = useRouter ( ) ;
65
68
66
69
const { user, getUser } = useAuth ( ) ;
67
70
@@ -138,7 +141,10 @@ const TeamPage = () => {
138
141
139
142
return (
140
143
< div className = "flex flex-col items-center justify-center min-h-screen bg-[#09090b] text-white" >
141
- < HeaderComponent />
144
+ < header className = "w-full bg-[#121212] flex items-center justify-between px-6 py-4 border-b border-gray-700" >
145
+ < h1 className = "text-lg font-bold" > Your Team</ h1 >
146
+ < DangerButton buttonText = "Go Back" onClick = { ( ) => router . push ( "/" ) } />
147
+ </ header >
142
148
< div className = "flex flex-grow flex-col p-8 w-full gap-8" >
143
149
< div className = "flex flex-row justify-between gap-8" >
144
150
< TeamInformation
You can’t perform that action at this time.
0 commit comments