blob: a271839b587b930fde0de2e940f742248941cb66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import Card from "../components/Card";
import CartConfirm from "../components/CartConfirm";
import MaxWidthContainer from "../components/MaxWidthContainer";
import Button from "../components/forms/Button";
import { useNavigate } from "react-router-dom";
const CheckoutPage = () => {
const navigate = useNavigate();
return <MaxWidthContainer>
<h1>Checkout</h1>
<Button onClick={() => {
navigate("/store");
}}>< Return to store</Button>
<Card title="Cart">
<CartConfirm/>
</Card>
</MaxWidthContainer>;
};
export default CheckoutPage;
|