• Gets the route for a specific onboarding step.

    Parameters

    Returns string

    The route path for the step.

    export function getRouteForStep(step: OnboardingStep): string {
    const config = STEP_ROUTE_CONFIG.find((c) => c.step === step);
    return config?.route ?? "/";
    }