mirror of
https://github.com/ershisan99/www.git
synced 2026-02-03 05:12:08 +00:00
maybe fix timezones?
This commit is contained in:
@@ -25,7 +25,6 @@ export function NextMatchInfoCard({
|
|||||||
bestOf,
|
bestOf,
|
||||||
}: NextMatchInfoCardProps) {
|
}: NextMatchInfoCardProps) {
|
||||||
return (
|
return (
|
||||||
<TimeZoneProvider>
|
|
||||||
<div className='mt-10 overflow-hidden rounded-xl border bg-card/60 shadow-lg backdrop-blur-sm'>
|
<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 items-center justify-between gap-4 px-6 py-4'>
|
||||||
<div className={'flex flex-col gap-1'}>
|
<div className={'flex flex-col gap-1'}>
|
||||||
@@ -88,6 +87,5 @@ export function NextMatchInfoCard({
|
|||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</TimeZoneProvider>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { MatchCard } from '@/app/(home)/major-league-balatro/_components/match-card'
|
import { MatchCard } from '@/app/(home)/major-league-balatro/_components/match-card'
|
||||||
|
import { TimeZoneProvider } from '@/components/timezone-provider'
|
||||||
import { Badge } from '@/components/ui/badge'
|
import { Badge } from '@/components/ui/badge'
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
|
||||||
import { cn } from '@/lib/utils'
|
import { cn } from '@/lib/utils'
|
||||||
@@ -117,10 +118,11 @@ const WeekTab = ({ week, matches, status }: WeekTabProps) => {
|
|||||||
<h3 className='font-bold text-xl'>{weekConfig.label}</h3>
|
<h3 className='font-bold text-xl'>{weekConfig.label}</h3>
|
||||||
<StatusBadge status={status} />
|
<StatusBadge status={status} />
|
||||||
</div>
|
</div>
|
||||||
|
<TimeZoneProvider>
|
||||||
{filteredMatches.map((match, index) => (
|
{filteredMatches.map((match, index) => (
|
||||||
<MatchCard key={index} match={match} />
|
<MatchCard key={index} match={match} />
|
||||||
))}
|
))}
|
||||||
|
</TimeZoneProvider>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user