diff --git a/use-shopping-cart/core/stripe-middleware.js b/use-shopping-cart/core/stripe-middleware.js index 91a54b9d..e2ff702f 100644 --- a/use-shopping-cart/core/stripe-middleware.js +++ b/use-shopping-cart/core/stripe-middleware.js @@ -26,6 +26,6 @@ export const handleStripe = (store) => (next) => async (action) => { try { return next(action) } catch (error) { - console.error('Error:', err) + console.error('Error:', error) } } diff --git a/use-shopping-cart/package.json b/use-shopping-cart/package.json index 067b4792..11cbc426 100644 --- a/use-shopping-cart/package.json +++ b/use-shopping-cart/package.json @@ -1,6 +1,6 @@ { "name": "use-shopping-cart", - "version": "3.0.0-beta.0", + "version": "3.0.0-beta.2", "description": "Shopping cart state and logic for Stripe", "author": "dayhaysoos", "license": "MIT",