From fdfa1e355e32fbee32104fe55a15e3e34cb026ec Mon Sep 17 00:00:00 2001
From: Tim Bastin <bastin.tim@gmail.com>
Date: Tue, 25 Feb 2025 14:08:21 +0100
Subject: [PATCH] eslint fix

---
 src/components/Hist.tsx     | 2 +-
 src/components/ui/form.tsx  | 2 +-
 src/components/ui/toast.tsx | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/Hist.tsx b/src/components/Hist.tsx
index ca032ca..66200f2 100644
--- a/src/components/Hist.tsx
+++ b/src/components/Hist.tsx
@@ -264,7 +264,7 @@ const Hist: FunctionComponent<Props> = ({
                     </ChartContainer>
                 </ResponsiveContainer>
                 {currentScan && (
-                    <span className="text-primary text-[14px]">
+                    <span className="text-[14px] text-primary">
                         {currentScanRepositoryURL}:{' '}
                         {currentScan.properties.value !== null ? (
                             <Badge>{currentScan?.properties.value}</Badge>
diff --git a/src/components/ui/form.tsx b/src/components/ui/form.tsx
index 035c95e..6846106 100644
--- a/src/components/ui/form.tsx
+++ b/src/components/ui/form.tsx
@@ -157,7 +157,7 @@ const FormMessage = React.forwardRef<
             ref={ref}
             id={formMessageId}
             className={cn(
-                'text-destructive text-[0.8rem] font-medium',
+                'text-[0.8rem] font-medium text-destructive',
                 className,
             )}
             {...props}
diff --git a/src/components/ui/toast.tsx b/src/components/ui/toast.tsx
index a163a29..b3534d4 100644
--- a/src/components/ui/toast.tsx
+++ b/src/components/ui/toast.tsx
@@ -60,7 +60,7 @@ const ToastAction = React.forwardRef<
     <ToastPrimitives.Action
         ref={ref}
         className={cn(
-            'hover:bg-secondary focus:ring-ring group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:outline-none focus:ring-1 disabled:pointer-events-none disabled:opacity-50',
+            'hover:bg-secondary focus:ring-ring group-[.destructive]:border-muted/40 inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:outline-none focus:ring-1 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive',
             className,
         )}
         {...props}
-- 
GitLab