Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect user to concierge when onboarding completed #42087

Merged
merged 14 commits into from
May 30, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import OnboardingPersonalDetails from '@pages/OnboardingPersonalDetails';
import OnboardingPurpose from '@pages/OnboardingPurpose';
import OnboardingWork from '@pages/OnboardingWork';
import * as Report from '@userActions/Report';
import ONYXKEYS from '@src/ONYXKEYS';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import SCREENS from '@src/SCREENS';
import Overlay from './Overlay';

Expand All @@ -40,10 +40,6 @@ function OnboardingModalNavigator() {
});
}, [hasCompletedGuidedSetupFlow]);

if (hasCompletedGuidedSetupFlow) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be removed. Otherwise there is a flash of the onboarding modal like this.

onboardModalFlash.mp4

This should just be moved below the useKeyboardShortcut hook.

return null;
}

const outerViewRef = React.useRef<View>(null);

const handleOuterClick = useCallback(() => {
Expand Down
Loading