Gets the route for a specific onboarding step.
The onboarding step.
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 ?? "/";} Copy
export function getRouteForStep(step: OnboardingStep): string { const config = STEP_ROUTE_CONFIG.find((c) => c.step === step); return config?.route ?? "/";}
Gets the route for a specific onboarding step.