From f2ebe6e58054122840727fadfdd0476f4c2587d6 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 13:59:27 -0700 Subject: [PATCH] doc: add checkout items link --- src/Checkout/Payment/Payment.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Checkout/Payment/Payment.js b/src/Checkout/Payment/Payment.js index 2c61693..919ac10 100644 --- a/src/Checkout/Payment/Payment.js +++ b/src/Checkout/Payment/Payment.js @@ -1,6 +1,6 @@ import React from "react"; import { useStateValue } from "../../redux/StateProvider"; - +import { Link } from "react-router-dom"; import CheckoutProduct from "../CheckoutProduct"; import "./Payment.css"; @@ -9,6 +9,9 @@ function Payment() { return (
+

+ Checkout ({basket?.length} items) +

Delivery Address