fix: typo

This commit is contained in:
2024-12-30 15:51:02 +08:00
parent 318122a41f
commit 263c23d942

View File

@@ -12,7 +12,6 @@ const NonOverflowScrollArea = React.forwardRef<
className={cn("relative", className)} className={cn("relative", className)}
{...props} {...props}
> >
aaa
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]"> <ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
{children} {children}
</ScrollAreaPrimitive.Viewport> </ScrollAreaPrimitive.Viewport>
@@ -30,7 +29,6 @@ const ScrollArea = React.forwardRef<
className={cn("relative overflow-hidden", className)} className={cn("relative overflow-hidden", className)}
{...props} {...props}
> >
aaa
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]"> <ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
{children} {children}
</ScrollAreaPrimitive.Viewport> </ScrollAreaPrimitive.Viewport>