Skip to content

Commit 4a94777

Browse files
committed
rm init function
1 parent 7c73c1e commit 4a94777

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/libs/actions/User.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,10 +1886,6 @@ function clearDraftSpendRule() {
18861886
Onyx.set(ONYXKEYS.FORMS.SPEND_RULE_FORM, null);
18871887
}
18881888

1889-
function initDraftSpendRuleMerchants(merchantNames: string[], merchantMatchTypes: Array<ValueOf<typeof CONST.SEARCH.SYNTAX_OPERATORS>>) {
1890-
Onyx.merge(ONYXKEYS.FORMS.SPEND_RULE_FORM_DRAFT, {merchantNames, merchantMatchTypes});
1891-
}
1892-
18931889
function updateSpendRuleFormDraft(draftData: Partial<SpendRuleForm>) {
18941890
Onyx.merge(ONYXKEYS.FORMS.SPEND_RULE_FORM_DRAFT, draftData);
18951891
}
@@ -1955,7 +1951,6 @@ export {
19551951
setDraftSpendRule,
19561952
updateDraftSpendRule,
19571953
clearDraftSpendRule,
1958-
initDraftSpendRuleMerchants,
19591954
updateSpendRuleFormDraft,
19601955
clearSpendRuleFormDraft,
19611956
openTroubleshootSettingsPage,

0 commit comments

Comments
 (0)