You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a file containing console.log({ MuiDivider: {} });
Run npx @mui/codemod@next deprecations/all <path> (Or npm run codemod in the stackblitz)
Current behavior
TypeError: Cannot read properties of undefined (reading 'value')
at NodePath.eval (/home/.npm/_npx/7ce9e72bb3a1a4a2/node_modules/@mui/codemod/node/deprecations/divider-props/divider-props.js:63:42)
at eval (/home/.npm/_npx/7ce9e72bb3a1a4a2/node_modules/jscodeshift/src/Collection.js:75:36)
at Array.forEach (<anonymous>)
at Collection.forEach (/home/.npm/_npx/7ce9e72bb3a1a4a2/node_modules/jscodeshift/src/Collection.js:74:18)
at transformer (/home/.npm/_npx/7ce9e72bb3a1a4a2/node_modules/@mui/codemod/node/deprecations/divider-props/divider-props.js:60:6)
at deprecationsAll (/home/.npm/_npx/7ce9e72bb3a1a4a2/node_modules/@mui/codemod/node/deprecations/all/deprecations-all.js:46:42)
Expected behavior
No error
Context
Trying migration in Toolpad Studio
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: MuiDivider codemod
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Link to live example: https://stackblitz.com/edit/stackblitz-starters-uqqkp5
Steps:
console.log({ MuiDivider: {} });
npx @mui/codemod@next deprecations/all <path>
(Ornpm run codemod
in the stackblitz)Current behavior
Expected behavior
No error
Context
Trying migration in Toolpad Studio
Your environment
npx @mui/envinfo
Search keywords: MuiDivider codemod
The text was updated successfully, but these errors were encountered: