chore: retira Carrusel, sin consumidores desde que el recorrido se apila
PuntosInflexion era el único que lo montaba. Se va también la referencia que le quedaba colgando en el comentario de useAutoStep. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c1a5e79c63
commit
a200346780
3 files changed
+1
-140
No files matched your search
+1
-2
@@ -66,8 +66,7 @@ export const motionProps = (reduced: boolean) =>
|
||||
|
||||
// Cycles through `count` steps on its own (Mecanismo, ComoEmpezar): each
|
||||
// manual change restarts the dwell timer, hovering pauses it, and it never
|
||||
// advances at all for reduced-motion users — same shape as the Carrusel
|
||||
// autoplay, for step indicators that aren't a carousel.
|
||||
// advances at all for reduced-motion users.
|
||||
export function useAutoStep(count: number, intervalMs = 3500) {
|
||||
const reduced = usePrefersReducedMotion();
|
||||
const [active, setActive] = useState(0);
|
||||
|
||||
Reference in new issue
Block a user