diff --git a/native/components/nux-handler.react.js b/native/components/nux-handler.react.js index fd6dbcfef..2a14ab866 100644 --- a/native/components/nux-handler.react.js +++ b/native/components/nux-handler.react.js @@ -1,41 +1,39 @@ // @flow import { useNavigation } from '@react-navigation/core'; import invariant from 'invariant'; import * as React from 'react'; import { isLoggedIn } from 'lib/selectors/user-selectors.js'; import { NUXTipsContext } from './nux-tips-context.react.js'; import { useSelector } from '../redux/redux-utils.js'; import { useOnFirstLaunchEffect } from '../utils/hooks.js'; -import { useStaffCanSee } from '../utils/staff-utils.js'; function NUXHandler(): React.Node { const nuxTipsContext = React.useContext(NUXTipsContext); invariant(nuxTipsContext, 'nuxTipsContext should be defined'); const { tipsProps } = nuxTipsContext; - const showTipsFlag = useStaffCanSee(); const loggedIn = useSelector(isLoggedIn); - if (!tipsProps || !loggedIn || !showTipsFlag) { + if (!tipsProps || !loggedIn) { return null; } return ; } function NUXHandlerInner(): React.Node { const navigation = useNavigation(); const effect = React.useCallback(() => { navigation.navigate<'NUXTipOverlayBackdrop'>({ name: 'NUXTipOverlayBackdrop', }); }, [navigation]); useOnFirstLaunchEffect('NUX_HANDLER', effect); } export { NUXHandler };