Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sawden committed Dec 23, 2023
1 parent b04cd0b commit 995b342
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions apps/frontend/src/components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ const Hero = React.forwardRef<HTMLDivElement, HeroProps>(
className="relative z-50 h-[120px] w-[120px]"
>
<div
className={`absolute inset-0 flex justify-center transition-opacity duration-1000 ${rotatingVariant === "turborepo"
? "visible opacity-100"
: "invisible opacity-0"
}`}
className={`absolute inset-0 flex justify-center transition-opacity duration-1000 ${
rotatingVariant === "turborepo"
? "visible opacity-100"
: "invisible opacity-0"
}`}
>
<Image
alt="Turborepo logo"
Expand All @@ -78,10 +79,11 @@ const Hero = React.forwardRef<HTMLDivElement, HeroProps>(
/>
</div>
<div
className={`absolute inset-0 flex justify-center transition-opacity duration-1000 ${rotatingVariant === "strapi"
? "visible opacity-100"
: "invisible opacity-0"
}`}
className={`absolute inset-0 flex justify-center transition-opacity duration-1000 ${
rotatingVariant === "strapi"
? "visible opacity-100"
: "invisible opacity-0"
}`}
>
<Image
alt="Strapi logo"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DropdownMenuContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cx(
"bg-background text-popover-foreground z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 p-1 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-300/20",
"text-popover-foreground z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-background p-1 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-300/20",
className,
)}
{...props}
Expand Down

0 comments on commit 995b342

Please sign in to comment.