diff --git a/src/features/onboarding/steps/step-finish.tsx b/src/features/onboarding/steps/step-finish.tsx index 426568a1..c693ad00 100644 --- a/src/features/onboarding/steps/step-finish.tsx +++ b/src/features/onboarding/steps/step-finish.tsx @@ -1,13 +1,13 @@ "use client"; import { useEffect, useRef } from "react"; -import { useRouter } from "next/navigation"; +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 router = useRouter(); + const { next } = useOnboarding(); const fired = useRef(false); useEffect(() => { @@ -21,7 +21,7 @@ export const StepFinish = () => {

You're all set!

Your workspace is ready to use.

-