Remove old onboarding (#4224)
* Hardcode onboarding_v2 to true, rm dead code * Rm initialState, use initialStateReduced * Rm dead code * Drop *reduced prefix in code * Prettier
This commit is contained in:
@@ -92,11 +92,7 @@ export function StepProfile() {
|
||||
}, [track])
|
||||
|
||||
React.useEffect(() => {
|
||||
// We have an experiment running for redueced onboarding, where this screen shows up as the first in onboarding.
|
||||
// We only want to request permissions when that gate is actually active to prevent pollution
|
||||
if (gate('reduced_onboarding_and_home_algo_v2')) {
|
||||
requestNotificationsPermission('StartOnboarding')
|
||||
}
|
||||
requestNotificationsPermission('StartOnboarding')
|
||||
}, [gate, requestNotificationsPermission])
|
||||
|
||||
const openPicker = React.useCallback(
|
||||
|
||||
Reference in New Issue
Block a user