I created MUI form with command blitz install material-ui, I try to use MUI form in tsx file but get error "TypeError: dispatcher.useId is not a function"
Paste all your error logs here:
TypeError: dispatcher.useId is not a function
at useId (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react/cjs/react.development.js:1697:21)
at useId (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/@mui/utils/useId.js:43:21)
at TextField (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/@mui/material/node/TextField/TextField.js:184:40)
at renderWithHooks (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5280:16)
at renderForwardRef (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5449:18)
at renderElement (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5594:11)
at renderNodeDestructive (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5674:11)
at renderNode (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5790:12)
at renderNodeDestructive (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5700:9)
at renderNode (/Users/kimtrong/Desktop/code/chungkhoan/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js:5790:12)
What is the problem?
I created MUI form with command
blitz install material-ui
, I try to use MUI form in tsx file but get error "TypeError: dispatcher.useId is not a function"Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
blitz install material-ui
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response