dejwid / food-ordering

https://food-ordering-tau.vercel.app
299 stars 206 forks source link

fixed removefromcart bug #4

Closed anoop102910 closed 10 months ago

anoop102910 commented 10 months ago

fixed "Uncaught ReferenceError: index is not defined." bt changing changed <CartProduct key={index} product={product} onRemove={removeCartProduct} /> to <CartProduct key={index} product={product} onRemove={()=>removeCartProduct(index)} />

vercel[bot] commented 10 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @dejwid on Vercel.

@dejwid first needs to authorize it.