Skip to content

Commit 4e0791c

Browse files
committed
remove freezeCard beta
1 parent 77d3291 commit 4e0791c

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/CONST/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ const CONST = {
866866
PAY_INVOICE_VIA_EXPENSIFY: 'payInvoiceViaExpensify',
867867
PERSONAL_CARD_IMPORT: 'personalCardImport',
868868
SUGGESTED_FOLLOWUPS: 'suggestedFollowups',
869-
FREEZE_CARD: 'freezeCard',
870869
GUSTO: 'gustoNewDot',
871870
BULK_EDIT: 'bulkEdit',
872871
NEW_MANUAL_EXPENSE_FLOW: 'newManualExpenseFlow',

src/pages/settings/Wallet/ExpensifyCardPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function ExpensifyCardPage({route}: ExpensifyCardPageProps) {
156156
const frozenByAccountID = currentCard?.nameValuePairs?.frozen?.byAccountID;
157157

158158
const {isBetaEnabled} = usePermissions();
159-
const canManageCardFreeze = isBetaEnabled(CONST.BETAS.FREEZE_CARD) && isCardHolder && !!currentCard && !isAccountLocked;
159+
const canManageCardFreeze = isCardHolder && !!currentCard && !isAccountLocked;
160160

161161
const policySelector = useCallback(
162162
(allPolicies: OnyxCollection<Policy>): Policy | undefined => {

src/pages/workspace/expensifyCard/WorkspaceExpensifyCardDetailsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function WorkspaceExpensifyCardDetailsPage({route}: WorkspaceExpensifyCardDetail
131131
setIsUnfreezeModalVisible(false);
132132
};
133133

134-
const canManageCardFreeze = isBetaEnabled(CONST.BETAS.FREEZE_CARD) && isAdmin && !!card;
134+
const canManageCardFreeze = isAdmin && !!card;
135135
const scarfOverlayStyle = useMemo(
136136
() => ({
137137
top: 0,

0 commit comments

Comments
 (0)