Open Mahesh262 opened 2 years ago
I used getState to show state tree of store by console.log. it is used only for showing on console what store includes
16 Mar 2022 Çar 09:49 tarihinde Mahesh @.***> şunu yazdı:
Cannot read properties of undefined (reading 'getState') react-dom.development.js:20085
The above error occurred in the
component: — Reply to this email directly, view it on GitHub https://github.com/huseyintopuz/shopping-cart-react-redux/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARSTEHNCVO2J46H4Q4YMF7LVAF76HANCNFSM5Q25ASBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
please delete this line console.log("neyyy", store.getState())
Add cart functionality is not working
Cannot read properties of undefined (reading 'getState') react-dom.development.js:20085