doc: add checkout items link
This commit is contained in:
1 parent
7479cc892d
commit
f2ebe6e580
1 file changed
+4
-1
@@ -1,6 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { useStateValue } from "../../redux/StateProvider";
|
import { useStateValue } from "../../redux/StateProvider";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
import CheckoutProduct from "../CheckoutProduct";
|
import CheckoutProduct from "../CheckoutProduct";
|
||||||
import "./Payment.css";
|
import "./Payment.css";
|
||||||
|
|
||||||
@@ -9,6 +9,9 @@ function Payment() {
|
|||||||
return (
|
return (
|
||||||
<section className="payment">
|
<section className="payment">
|
||||||
<article className="payment__container">
|
<article className="payment__container">
|
||||||
|
<h1>
|
||||||
|
Checkout (<Link to="/checkout">{basket?.length} items</Link>)
|
||||||
|
</h1>
|
||||||
<article className="payment__section">
|
<article className="payment__section">
|
||||||
<article className="payment__title">
|
<article className="payment__title">
|
||||||
<h3>Delivery Address</h3>
|
<h3>Delivery Address</h3>
|
||||||
|
|||||||
Reference in new issue
Block a user