Skip to content

Commit 1d87c80

Browse files
committed
adding lesson code
1 parent 583c840 commit 1d87c80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

remix/lessons/05-forms-and-actions/lecture/routes/_products-layout._index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export default function ProductsIndex() {
5858
<Tiles>
5959
{products.map((product) => {
6060
const quantityInCart = cart?.find((c) => c.productId === product.id)?.quantity || 0
61+
// const isSubmitting = navigation.state === 'submitting' && navigation?.formData?.get('productId') === product.id.toString()
6162

6263
return (
6364
<div

0 commit comments

Comments
 (0)