From aae90ac4b5b98e6c53a8117ac14216199c3df058 Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Thu, 19 Sep 2024 12:37:27 -0400 Subject: [PATCH] Revert "[native] Temporary changes for staff release" This reverts commit 40fa01325c1fcaad5b7d144db33214bd24c0f2c4. --- 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();