Skip to content

Commit

Permalink
simplify logic for GardenSetupGuide appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Dec 23, 2024
1 parent 91988c4 commit bb8a5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/onboarding/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export default function OnboardingFlow() {
onNext={handleNext}
// GardenSetupGuide should only appear when user selects an option for plotstatus
childComponent={
selectedPlot === undefined ? undefined : (
selectedPlot !== undefined && (
<GardenSetupGuide userType={selectedGardenType!} />
)
}
Expand Down

0 comments on commit bb8a5e9

Please sign in to comment.