fix: change second conditional rendering
This commit is contained in:
@@ -19,7 +19,7 @@ function Checkout() {
|
||||
/>
|
||||
|
||||
<article>
|
||||
{!user ? "" : <h3>Hello, {!user?.email}</h3>}
|
||||
{!user ? "" : <h3>Hello, {user?.email}</h3>}
|
||||
<h2 className="checkout__title">Your Shopping Basket</h2>
|
||||
{basket.map((item) => (
|
||||
<CheckoutProduct
|
||||
|
||||
Reference in New Issue
Block a user