Skip to content

Commit

Permalink
update issue with PERSONALIZED_FEATURES group
Browse files Browse the repository at this point in the history
  • Loading branch information
osamasayed committed Mar 3, 2024
1 parent 4a28613 commit 66a40db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Onboarding/OnboardingProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const OnboardingProvider = React.memo(({ children }: { children: React.Re
const setStep = useCallback(
(group: OnboardingGroup, step: number) => {
let totalSteps = allSteps[group].length;
if (isLoggedIn()) {
if (isLoggedIn() && group === OnboardingGroup.PERSONALIZED_FEATURES) {
// don't count the first step (login button)
totalSteps -= 1;
}
Expand Down

0 comments on commit 66a40db

Please sign in to comment.