File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const AdminPage = () => {
77 queryKey : [ "admin" , "teams" ] ,
88 queryFn : async ( ) => {
99 const res = await TeamApi . getAllTeams ( ) ;
10- return res . result . data ;
10+ return res . result ;
1111 } ,
1212 staleTime : 5 * 60 * 1000 ,
1313 } ) ;
Original file line number Diff line number Diff line change 11import { BookOpen , Calendar , Clock } from "lucide-react" ;
2- import React from "react" ;
32
4- const InfoPresent = ( { team } : { team : TeamType } ) => {
3+ const InfoPresent = ( ) => {
54 return (
65 < div className = "overflow-hidden rounded-lg border border-amber-200/60 bg-gradient-to-br from-amber-50/50 to-white shadow-xs transition-all" >
76 < div className = "border-b border-amber-200/60 bg-gradient-to-br from-amber-50/80 to-white px-5 py-4" >
Original file line number Diff line number Diff line change 11import { BookOpen , User } from "lucide-react" ;
2- import React from "react" ;
32import type { TeamType } from "~/types/team.types" ;
43
54const TopicTeam = ( { team } : { team : TeamType } ) => {
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const TeamPage = () => {
102102
103103 < div className = "col-span-1 space-y-2 lg:col-span-4" >
104104 < TopicTeam team = { team } />
105- < InfoPresent team = { team } />
105+ < InfoPresent />
106106 </ div >
107107 </ div >
108108 </ >
You can’t perform that action at this time.
0 commit comments