Page MenuHomePhabricator

D13422.diff
No OneTemporary

D13422.diff

diff --git a/native/components/nux-handler.react.js b/native/components/nux-handler.react.js
--- a/native/components/nux-handler.react.js
+++ b/native/components/nux-handler.react.js
@@ -9,17 +9,15 @@
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;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 29, 10:55 PM (4 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2202939
Default Alt Text
D13422.diff (848 B)

Event Timeline