Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
bondydaa committed May 22, 2023
1 parent db0d53e commit bd80ad9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/libs/actions/CloseAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ import Onyx from 'react-native-onyx';
import ONYXKEYS from '../../ONYXKEYS';
import CONST from '../../CONST';

/**
* Clear CloseAccount error message to hide modal
*/
function clearError() {
Onyx.merge(ONYXKEYS.FORMS.CLOSE_ACCOUNT_FORM, {errors: null});
}

/**
* Set default Onyx data
*/
Expand All @@ -17,7 +10,5 @@ function setDefaultData() {
}

export {
// eslint-disable-next-line import/prefer-default-export
clearError,
setDefaultData,
};

0 comments on commit bd80ad9

Please sign in to comment.