We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b344ef commit 59b3ca4Copy full SHA for 59b3ca4
src/components/onboarding/index.tsx
@@ -151,7 +151,10 @@ export function OnboardingOption({
151
hideForThisOption?: boolean;
152
isStep?: boolean;
153
}) {
154
- validateOptionIds([{id: optionId}]);
+ // Allow not passing an optionId when isStep is true
155
+ if (!isStep || optionId) {
156
+ validateOptionIds([{id: optionId}]);
157
+ }
158
const className = [hideForThisOption ? 'hidden' : '', isStep ? 'onboarding-step' : '']
159
.filter(Boolean)
160
.join(' ');
0 commit comments