Skip to content

Commit

Permalink
feat: solving warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaroysr96 committed Nov 15, 2024
1 parent f72a2ad commit d464e3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/ui/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const SelectTrigger = React.forwardRef<
{...props}>
{children}
<SelectPrimitive.Icon asChild>
<CaretSortIcon className="h-4 w-4 opacity-50" />
<CaretSortIcon className="size-4 opacity-50" />
</SelectPrimitive.Icon>
</SelectPrimitive.Trigger>
))
Expand Down Expand Up @@ -120,9 +120,9 @@ const SelectItem = React.forwardRef<
className
)}
{...props}>
<span className="absolute right-2 flex h-3.5 w-3.5 items-center justify-center">
<span className="absolute right-2 flex size-3.5 items-center justify-center">
<SelectPrimitive.ItemIndicator>
<CheckIcon className="h-4 w-4" />
<CheckIcon className="size-4" />
</SelectPrimitive.ItemIndicator>
</span>
<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const toastVariants = cva(
{
variants: {
variant: {
default: "border bg-background dark:bg-neutral-900 text-foreground",
default: "border bg-background text-foreground dark:bg-neutral-900",
destructive:
"group border-destructive bg-destructive text-destructive-foreground",
},
Expand Down

0 comments on commit d464e3f

Please sign in to comment.