A full-featured CRM built with React, shadcn/ui, and Supabase.
remove unused ProgressAuto
ThieryMichel0c25e72a25a9
diff --git a/src/components/ui/progress.tsx b/src/components/ui/progress.tsxindex 42ac3160..2e25f160 100644--- a/src/components/ui/progress.tsx+++ b/src/components/ui/progress.tsx@@ -3,7 +3,7 @@ import { Progress as ProgressPrimitive } from "radix-ui"import { cn } from "@/lib/utils"-function Progress({+export function Progress({className,value,...props@@ -25,22 +25,3 @@ function Progress({</ProgressPrimitive.Root>)}--// @TODO: Replace me by shadcn-admin-kit progressAuto component when it will be released-function ProgressAuto(- props: React.ComponentProps<typeof ProgressPrimitive.Root>-) {- const [progress, setProgress] = React.useState(20)-- React.useEffect(() => {- const timer = setTimeout(- () => setProgress((prev) => (prev + 20) % 100),- 1500- )- return () => clearTimeout(timer)- }, [progress])-- return <Progress {...props} value={progress} />-}--export { Progress, ProgressAuto }