Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(slider): fix the slider lint error (#16746)

Noviceac3577bc568e
diff --git a/web/app/components/base/slider/index.tsx b/web/app/components/base/slider/index.tsx
index 4e83ac57023..2cfbf803639 100644
--- a/web/app/components/base/slider/index.tsx
+++ b/web/app/components/base/slider/index.tsx
@@ -33,8 +33,7 @@ const Slider: React.FC<ISliderProps> = ({
step={step || 1}
className={cn('slider relative', className)}
thumbClassName={cn('absolute top-[-9px] h-5 w-2 rounded-[3px] border-[0.5px] border-components-slider-knob-border bg-components-slider-knob shadow-sm focus:outline-none', !disabled && 'cursor-pointer', thumbClassName)}
- // eslint-disable-next-line tailwindcss/classnames-order
- trackClassName={cn('h-0.5 rounded-full slider-track', trackClassName)}
+ trackClassName={cn('h-0.5 rounded-full', 'slider-track', trackClassName)}
onChange={onChange}
/>
}