Upgrade Next.js version in pnpm-lock.yaml

The Next.js version in pnpm-lock.yaml file has been updated from 14.2.1 to 14.3.0-canary.7. This upgrade affects various dependencies, potentially providing new features, security upgrades or performance improvements.
This commit is contained in:
giancarlo
2024-04-17 21:30:46 +08:00
parent f7ded6f789
commit 5a74f93d26
15 changed files with 168 additions and 144 deletions

View File

@@ -46,7 +46,7 @@
"@types/react": "^18.2.79",
"date-fns": "^3.6.0",
"lucide-react": "^0.368.0",
"next": "14.2.1",
"next": "14.3.0-canary.7",
"react": "18.2.0",
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.0",

View File

@@ -16,7 +16,6 @@ import {
import { formatCurrency } from '@kit/shared/utils';
import { Badge } from '@kit/ui/badge';
import { Button } from '@kit/ui/button';
import { Heading } from '@kit/ui/heading';
import { If } from '@kit/ui/if';
import { Separator } from '@kit/ui/separator';
import { Trans } from '@kit/ui/trans';
@@ -164,18 +163,16 @@ function PricingItem(
<div className={'flex flex-col space-y-6'}>
<div className={'flex flex-col space-y-4'}>
<div className={'flex items-center space-x-4'}>
<Heading level={5}>
<b
className={
'text-current-foreground font-heading font-semibold uppercase'
}
>
<Trans
i18nKey={props.product.name}
defaults={props.product.name}
/>
</b>
</Heading>
<b
className={
'text-current-foreground font-heading font-semibold uppercase'
}
>
<Trans
i18nKey={props.product.name}
defaults={props.product.name}
/>
</b>
<If condition={props.product.badge}>
<Badge variant={highlighted ? 'default' : 'outline'}>