maybe fix timezones?

This commit is contained in:
2025-04-28 15:59:00 +02:00
parent 65150145de
commit b6c93b1c96
2 changed files with 64 additions and 64 deletions

View File

@@ -25,7 +25,6 @@ export function NextMatchInfoCard({
bestOf,
}: NextMatchInfoCardProps) {
return (
<TimeZoneProvider>
<div className='mt-10 overflow-hidden rounded-xl border bg-card/60 shadow-lg backdrop-blur-sm'>
<div className='flex items-center justify-between gap-4 px-6 py-4'>
<div className={'flex flex-col gap-1'}>
@@ -88,6 +87,5 @@ export function NextMatchInfoCard({
</DropdownMenu>
</div>
</div>
</TimeZoneProvider>
)
}

View File

@@ -1,4 +1,5 @@
import { MatchCard } from '@/app/(home)/major-league-balatro/_components/match-card'
import { TimeZoneProvider } from '@/components/timezone-provider'
import { Badge } from '@/components/ui/badge'
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
import { cn } from '@/lib/utils'
@@ -117,10 +118,11 @@ const WeekTab = ({ week, matches, status }: WeekTabProps) => {
<h3 className='font-bold text-xl'>{weekConfig.label}</h3>
<StatusBadge status={status} />
</div>
<TimeZoneProvider>
{filteredMatches.map((match, index) => (
<MatchCard key={index} match={match} />
))}
</TimeZoneProvider>
</TabsContent>
)
}