-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e97f50
commit 37d65f5
Showing
6 changed files
with
115 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ export const Cart = () => { | |
setShowError(false); | ||
} | ||
})(); | ||
}); | ||
},[]); | ||
|
||
return ( | ||
<div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
// import { useCart } from '../contexts/CartContext'; | ||
|
||
export const Orders = () => { | ||
// let { orderId, paymentId } = useCart(); | ||
return ( | ||
// <div> | ||
// <div className="order-box"> | ||
// <img className="order-img" src={} alt="order" /> | ||
// <h2 className="order-text">Order Confirmed!</h2> | ||
// {orderId && ( | ||
// <div className="order-text"> | ||
// Order ID: <strong>{orderId}</strong> | ||
// </div> | ||
// )} | ||
// {paymentId && ( | ||
// <div className="order-text"> | ||
// Transaction ID: <strong>{paymentId}</strong> | ||
// </div> | ||
// )} | ||
// </div> | ||
// </div> | ||
<div> | ||
Orders Page! | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters