Skip to content

Commit

Permalink
Merge branch 'main' into redemption-widget-documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo committed Oct 20, 2023
2 parents 8c9e2c8 + f5b17ed commit 6a14731
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 47 deletions.
66 changes: 33 additions & 33 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
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@bosonprotocol/react-kit": "^0.22.0-alpha.2",
"@bosonprotocol/react-kit": "^0.22.0-alpha.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down
13 changes: 0 additions & 13 deletions src/components/widgets/redeem/Redeem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export function Redeem() {
for (const key of Object.keys(deliveryInfoDecoded)) {
deliveryInfoDecoded[key] = decodeURIComponent(deliveryInfoDecoded[key]);
}
console.log("deliveryInfoDecoded", deliveryInfoDecoded);
} catch (e) {
console.error(
`Unable to parse JSON from deliveryInfo='${deliveryInfo}': ${e}`
Expand All @@ -46,10 +45,6 @@ export function Redeem() {
if (postDeliveryInfoHeaders) {
try {
postDeliveryInfoHeadersDecoded = JSON.parse(postDeliveryInfoHeaders);
console.log(
"postDeliveryInfoHeadersDecoded",
postDeliveryInfoHeadersDecoded
);
} catch (e) {
console.error(
`Unable to parse JSON from postDeliveryInfoHeaders='${postDeliveryInfoHeaders}': ${e}`
Expand All @@ -66,10 +61,6 @@ export function Redeem() {
postRedemptionSubmittedHeadersDecoded = JSON.parse(
postRedemptionSubmittedHeaders
);
console.log(
"postRedemptionSubmittedHeadersDecoded",
postRedemptionSubmittedHeadersDecoded
);
} catch (e) {
console.error(
`Unable to parse JSON from postRedemptionSubmittedHeaders='${postRedemptionSubmittedHeaders}': ${e}`
Expand All @@ -86,10 +77,6 @@ export function Redeem() {
postRedemptionConfirmedHeadersDecoded = JSON.parse(
postRedemptionConfirmedHeaders
);
console.log(
"postRedemptionConfirmedHeadersDecoded",
postRedemptionConfirmedHeadersDecoded
);
} catch (e) {
console.error(
`Unable to parse JSON from postRedemptionConfirmedHeaders='${postRedemptionConfirmedHeaders}': ${e}`
Expand Down

0 comments on commit 6a14731

Please sign in to comment.