add missing comment to documentation

This commit is contained in:
Peter Mekhaeil 2021-01-29 00:20:56 +08:00
parent 16890e1b5a
commit c7a5583d26

View File

@ -52,6 +52,7 @@ These modifications are temporarily until contributions are made to remove them.
#### Adding item to Cart #### Adding item to Cart
```js ```js
// components/product/ProductView/ProductView.tsx
const ProductView: FC<Props> = ({ product }) => { const ProductView: FC<Props> = ({ product }) => {
const addToCart = async () => { const addToCart = async () => {
setLoading(true) setLoading(true)