Skip to content

Commit

Permalink
fix(navitems): fixed the problems with the 'Cant resolve @/src/lib/ut…
Browse files Browse the repository at this point in the history
…ils' (#68)
  • Loading branch information
Clement-Fernandes authored Oct 5, 2024
1 parent e4f4834 commit 4220e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function ButtonIcon(props: ButtonProps) {
</div>
)}
</div> */}
<div className="m-auto flex gap-2 w-4 items-baseline">{children}</div>
<div className="m-auto flex gap-2 w-fit items-baseline">{children}</div>
</button>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/NavItem/NavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { forwardRef, useState } from 'react';
import { cva, type VariantProps } from 'class-variance-authority';
import { ChevronDown, ChevronUp } from 'lucide-react';

import { cn } from '@/src/lib/utils';
import { cn } from '../../lib/utils';

const navItemVariants = cva('w-full', {
variants: {
Expand Down

0 comments on commit 4220e26

Please sign in to comment.