Skip to content

Commit

Permalink
fix: removed linter ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Joesph Chrysanthopoulos authored and Joesph Chrysanthopoulos committed Mar 31, 2022
1 parent 66aa1fb commit 950921a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@ const NavbarCompnent: FC<NavbarCompnentProps> = ({ children, menuOpen, fluid, ro
<NavbarContext.Provider value={{ isOpen, setIsOpen }}>
<nav
className={classNames('border-gray-200 bg-white px-2 py-2.5 dark:bg-gray-800 sm:px-4', {
// prettier-ignore
// REASON: prettier wants 'rounded' to be a prop
'rounded': rounded,
// prettier-ignore
// REASON: prettier wants 'border' to be a prop
'border': border,
rounded: rounded,
border: border,
})}
>
<div
className={classNames('mx-auto flex flex-wrap items-center justify-between', {
// prettier-ignore
// REASON: prettier again wants 'container' to be a prop
'container': fluid,
container: !fluid,
})}
>
{children}
Expand Down

0 comments on commit 950921a

Please sign in to comment.