Skip to content

Commit

Permalink
Merge branch 'remove-package-dependency' of github.com:juspay/hypersw…
Browse files Browse the repository at this point in the history
…itch-web into remove-package-dependency
  • Loading branch information
PritishBudhiraja committed Aug 4, 2024
2 parents 9dd39fb + f856631 commit 070d989
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [0.80.2](https://github.com/juspay/hyperswitch-web/compare/v0.80.1...v0.80.2) (2024-08-02)

## [0.80.1](https://github.com/juspay/hyperswitch-web/compare/v0.80.0...v0.80.1) (2024-08-02)


Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orca-payment-page",
"version": "0.80.1",
"version": "0.80.2",
"main": "index.js",
"private": true,
"dependencies": {
Expand Down
19 changes: 0 additions & 19 deletions src/PaymentMethodCollectElement.res
Original file line number Diff line number Diff line change
Expand Up @@ -214,25 +214,6 @@ let make = (~integrateError, ~logger) => {
{key: localeString.infoCardRefId, value: options.payoutId},
]

statusInfo.code
->Option.flatMap(code => {
statusInfoFields->Array.push({key: localeString.infoCardErrCode, value: code})
None
})
->ignore
statusInfo.errorMessage
->Option.flatMap(errorMessage => {
statusInfoFields->Array.push({key: localeString.infoCardErrMsg, value: errorMessage})
None
})
->ignore
statusInfo.reason
->Option.flatMap(reason => {
statusInfoFields->Array.push({key: localeString.infoCardErrReason, value: reason})
None
})
->ignore

<div
style={
color: themeObj.colorText,
Expand Down

0 comments on commit 070d989

Please sign in to comment.