fix: resolve feedback issue #833
Annotations
2 errors
src/__test__/components/SingleProduct/SingleProduct.test.tsx > SingleProduct component > should trigger and submit and delete review:
src/components/SingleProduct/SingleProduct.tsx#L49
TypeError: Cannot destructure property 'userToken' of 'useSelector(...)' as it is undefined.
❯ SingleProduct src/components/SingleProduct/SingleProduct.tsx:49:11
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26135:20
|
build
Process completed with exit code 1.
|