Skip to content

Commit

Permalink
Fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Oct 11, 2024
1 parent 6fd91d5 commit 1a74247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/ui/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const FormMessage = React.forwardRef<
<p
ref={ref}
id={formMessageId}
className={cn('text-sm font-medium text-red-500 dark:text-red-900', className)}
className={cn('text-red-500 dark:text-red-900 text-sm font-medium', className)}
{...props}
>
{body}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const LayersToolbox: FCWithMessages = () => {
const [open, setOpen] = useState(true);

return (
<div className="bg-red absolute bottom-0 right-0 z-20">
<div className="absolute bottom-0 right-0 z-20 bg-red">
<div className="relative">
<Collapsible className="bg-red relative" open={open} onOpenChange={setOpen}>
<Collapsible className="relative bg-red" open={open} onOpenChange={setOpen}>
<CollapsibleTrigger className="absolute top-0 right-0 -translate-y-full border border-b-0 border-black bg-white">
{open && <LuChevronDown className="mx-2 my-px h-5 w-5" aria-hidden />}
{!open && (
Expand Down

0 comments on commit 1a74247

Please sign in to comment.