Skip to content

Commit

Permalink
feat(onboarding): remove the skip ("None of these") button (#18196)
Browse files Browse the repository at this point in the history
remove the skip ("None of these") button
  • Loading branch information
raquelmsmith authored Oct 26, 2023
1 parent ea68d3a commit b68ba2d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions frontend/src/scenes/products/Products.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export function Products(): JSX.Element {
const { featureFlags } = useValues(featureFlagLogic)
const { billing } = useValues(billingLogic)
const { currentTeam } = useValues(teamLogic)
const { updateCurrentTeam } = useActions(teamLogic)
const isFirstProduct = Object.keys(currentTeam?.has_completed_onboarding_for || {}).length === 0
const products = billing?.products || []

Expand Down Expand Up @@ -132,23 +131,6 @@ export function Products(): JSX.Element {
<ProductCard product={product} key={product.type} />
))}
</div>
<div className="mt-20">
<LemonButton
status="muted"
onClick={() => {
updateCurrentTeam({
has_completed_onboarding_for: {
...currentTeam?.has_completed_onboarding_for,
skipped_onboarding: true,
},
})
router.actions.replace(urls.default())
}}
size="small"
>
None of these
</LemonButton>
</div>
</>
) : (
<Spinner className="text-3xl" />
Expand Down

0 comments on commit b68ba2d

Please sign in to comment.