mirror of
https://github.com/ershisan99/www.git
synced 2025-12-18 21:09:23 +00:00
maybe fix timezones?
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user