mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 13:11:23 +00:00
add missing comment to documentation
This commit is contained in:
parent
16890e1b5a
commit
c7a5583d26
@ -52,6 +52,7 @@ These modifications are temporarily until contributions are made to remove them.
|
||||
#### Adding item to Cart
|
||||
|
||||
```js
|
||||
// components/product/ProductView/ProductView.tsx
|
||||
const ProductView: FC<Props> = ({ product }) => {
|
||||
const addToCart = async () => {
|
||||
setLoading(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user