From 2010f9423e20b8bcbda3947ad7c815d60f06d211 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 14:08:59 -0700 Subject: [PATCH] doc: remove object inside CurrencyFormat --- src/Checkout/Payment/Payment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Checkout/Payment/Payment.js b/src/Checkout/Payment/Payment.js index 78a41f7..a605b6f 100644 --- a/src/Checkout/Payment/Payment.js +++ b/src/Checkout/Payment/Payment.js @@ -3,7 +3,7 @@ import { useStateValue } from "../../redux/StateProvider"; import { Link } from "react-router-dom"; import CheckoutProduct from "../CheckoutProduct"; import { CardElement, useElements, useStripe } from "@stripe/react-stripe-js"; -import { CurrencyFormat } from "react-currency-format"; +import CurrencyFormat from "react-currency-format"; import { getBasketTotal } from "../../redux/reducer"; import "./Payment.css";