"use client" import type React from "react" import { useEffect, useState } from "react" import { useHistory } from "react-router-dom" const CourseComplete: React.FC = () => { const history = useHistory() const [animationPhase, setAnimationPhase] = useState(0) useEffect(() => { const timer1 = setTimeout(() => setAnimationPhase(1), 500) const timer2 = setTimeout(() => setAnimationPhase(2), 1500) const timer3 = setTimeout(() => setAnimationPhase(3), 2500) return () => { clearTimeout(timer1) clearTimeout(timer2) clearTimeout(timer3) } }, []) return (
Вы успешно завершили курс
"Восстановление колена"