Skip to content

Commit

Permalink
fix grumpy linting
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelmsmith committed Oct 8, 2023
1 parent ef60041 commit 74aeea4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/scenes/onboarding/OnboardingStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { router } from 'kea-router'
import { urls } from 'scenes/urls'

export const OnboardingStep = ({
stepKey, // eslint-disable-line @typescript-eslint/no-unused-vars
stepKey,
title,
subtitle,
children,
Expand All @@ -25,6 +25,9 @@ export const OnboardingStep = ({
}): JSX.Element => {
const { hasNextStep, hasPreviousStep } = useValues(onboardingLogic)
const { completeOnboarding, goToNextStep, goToPreviousStep } = useActions(onboardingLogic)
if (!stepKey) {
throw new Error('stepKey is required in any OnboardingStep')
}

return (
<BridgePage
Expand Down

0 comments on commit 74aeea4

Please sign in to comment.