Skip to content

Commit 015255f

Browse files
committed
Update CheckoutForm.component.tsx
1 parent 4598acc commit 015255f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refactor/src/components/Checkout/CheckoutForm.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const CheckoutForm = () => {
143143
</div>
144144
) : (
145145
<>
146-
{!data?.cart?.contents?.nodes.length && !orderCompleted && (
146+
{!cart && !orderCompleted && (
147147
<h1 className="text-2xl m-12 mt-32 font-bold text-center">
148148
Ingen produkter i handlekurven
149149
</h1>

0 commit comments

Comments
 (0)