File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ export default function TeamManagement() {
229229 </ tr >
230230 </ thead >
231231 < tbody >
232- { teams . map ( ( team ) => (
232+ { teams . filter ( team => team . teamName != "organizers" ) . map ( ( team ) => (
233233 < tr key = { team . _id } className = "border-t border-gray-800 hover:bg-gray-800/50" >
234234 < td className = "py-4 px-6" >
235235 < div className = "text-white" > { team . teamName } </ div >
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export default function Leaderboard() {
102102
103103 < CardContent className = "pt-6" >
104104 < ul className = "space-y-4" >
105- { teams . map ( ( team , index ) => (
105+ { teams . filter ( team => team . teamName != "organizers" ) . map ( ( team , index ) => (
106106 < li
107107 key = { team . _id }
108108 className = { `group relative flex flex-col sm:flex-row sm:items-center justify-between px-4 py-3 rounded-xl transition-all duration-300 ${
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ const PublicLeaderboard = () => {
9494 </ div >
9595
9696 < div className = "divide-y divide-gray-700" >
97- { leaderboard . map ( ( team ) => (
97+ { leaderboard . filter ( team => team . teamName != "organizers" ) . map ( ( team ) => (
9898 < div
9999 key = { team . rank }
100100 className = { `grid grid-cols-12 p-4 items-center ${
You can’t perform that action at this time.
0 commit comments