Error

1
Posted at January 15, 2021 36 Views . 1 Saved .

Failed to compile./src/containers/ProductDetailsPage/index.js Attempted import error: 'addToCart' is not exported from '../../actions'.

3 Comments
amardeep maurya
Actions Will be export the (export const addToCart = (product) => {)
amardeep maurya
./src/containers/ProductDetailsPage/index.js Attempted import error: 'addToCart' is not exported from '../../actions'.
amardeep maurya
Sir I Have Import addToCart But Still Not Working
Rizwan Khan
Can u share your both piece of code where import and export you are using so i can help you better