Update dependencies and refactor SentryProvider component

This update includes version bumps for several dependencies across multiple packages and applications including "@sentry/nextjs", "lucide-react", "@types/node", "pnpm", and others. It also includes a change to the SentryProvider component where the SentryMonitoringService is now instantiated outside the MonitoringProvider function instead of using useRef inside the function.
This commit is contained in:
giancarlo
2024-05-31 19:38:56 +07:00
parent 4be66cb3da
commit 88ff32479a
18 changed files with 300 additions and 286 deletions

View File

@@ -11,7 +11,7 @@ export const CardButton = React.forwardRef<
asChild?: boolean;
className?: string;
children: React.ReactNode;
}
} & React.ButtonHTMLAttributes<HTMLButtonElement>
>(function CardButton({ className, asChild, ...props }, ref) {
const Comp = asChild ? Slot : 'button';
@@ -19,7 +19,7 @@ export const CardButton = React.forwardRef<
<Comp
ref={ref}
className={cn(
'group relative flex h-36 flex-col rounded-lg bg-secondary/80 transition-all hover:bg-secondary/90 hover:shadow-sm active:bg-secondary active:shadow-lg',
'group relative flex h-36 flex-col rounded-lg border transition-all hover:bg-secondary/20 hover:shadow active:bg-secondary active:bg-secondary/50 active:shadow-lg dark:shadow-primary/20',
className,
)}
{...props}