From ff65f035864594e30569767a920023c3c646c76a Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Wed, 4 Sep 2024 18:44:44 -0700 Subject: [PATCH] Revert "[native] Temporary changes for staff release" This reverts commit 566deed27d387299ec08af6751fe0dbf314e813c. --- native/cpp/CommonCpp/Tools/StaffUtils.cpp | 2 +- native/utils/staff-utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/cpp/CommonCpp/Tools/StaffUtils.cpp b/native/cpp/CommonCpp/Tools/StaffUtils.cpp index 62785ebe92..c630858676 100644 --- a/native/cpp/CommonCpp/Tools/StaffUtils.cpp +++ b/native/cpp/CommonCpp/Tools/StaffUtils.cpp @@ -2,6 +2,6 @@ namespace comm { bool StaffUtils::isStaffRelease() { - return true; + return false; } } // namespace comm diff --git a/native/utils/staff-utils.js b/native/utils/staff-utils.js index 3464e92177..c762280900 100644 --- a/native/utils/staff-utils.js +++ b/native/utils/staff-utils.js @@ -2,7 +2,7 @@ import { useIsCurrentUserStaff } from 'lib/shared/staff-utils.js'; -const isStaffRelease = true; +const isStaffRelease = false; function useStaffCanSee(): boolean { const isCurrentUserStaff = useIsCurrentUserStaff();