fix: change second conditional rendering

This commit is contained in:
Leon Xu committed 2022-05-07 13:27:37 -07:00
1 parent e974e40104
commit 340ef629a8
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ function Checkout() {
/> />
<article> <article>
{!user ? "" : <h3>Hello, {!user?.email}</h3>} {!user ? "" : <h3>Hello, {user?.email}</h3>}
<h2 className="checkout__title">Your Shopping Basket</h2> <h2 className="checkout__title">Your Shopping Basket</h2>
{basket.map((item) => ( {basket.map((item) => (
<CheckoutProduct <CheckoutProduct