-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10322 from Expensify/maria-make-default-payment-m…
…ethod Handling display of errors when MakeDefaultPaymentMethod fails
- Loading branch information
Showing
10 changed files
with
57 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
import PropTypes from 'prop-types'; | ||
|
||
export default { | ||
/** User's wallet information */ | ||
userWallet: PropTypes.shape({ | ||
/** What step in the activation flow are we on? */ | ||
currentStep: PropTypes.string, | ||
|
||
/** Status of wallet - e.g. SILVER or GOLD */ | ||
tierName: PropTypes.string, | ||
|
||
/** Error code returned by the server */ | ||
errorCode: PropTypes.string, | ||
}), | ||
}; | ||
/** User's wallet information */ | ||
export default PropTypes.shape({ | ||
/** The user's available wallet balance */ | ||
availableBalance: PropTypes.number, | ||
|
||
/** The user's current wallet balance */ | ||
currentBalance: PropTypes.number, | ||
|
||
/** What step in the activation flow are we on? */ | ||
currentStep: PropTypes.string, | ||
|
||
/** Error code returned by the server */ | ||
errorCode: PropTypes.string, | ||
|
||
/** If we should show the FailedKYC view after the user submitted their info with a non fixable error */ | ||
shouldShowFailedKYC: PropTypes.bool, | ||
|
||
/** Status of wallet - e.g. SILVER or GOLD */ | ||
tierName: PropTypes.string, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters