"use client"; import { useEffect, useRef } from "react"; import { useOnboarding } from "@onboardjs/react"; import confetti from "canvas-confetti"; import { CheckCircle2 } from "lucide-react"; import { Button } from "@/components/ui/button"; export const StepFinish = () => { const { next } = useOnboarding(); const fired = useRef(false); useEffect(() => { if (fired.current) return; fired.current = true; confetti({ particleCount: 150, spread: 80, origin: { y: 0.6 } }); }, []); return (
Your workspace is ready to use.