Cannot read properties of null (reading 'useState')
at useState (react.development.js:1622:1)
at BlockUi (index.js:57:1)
Hi all Im migrating my app to react 18 and getting the above error when we replace the react-block-ui with "@availity/block-ui": "1.0.0",
Nothing changed in the code apart from import BlockUI from '@availity/block-ui'
Any quick fix/solution will be helpful
Cannot read properties of null (reading 'useState') at useState (react.development.js:1622:1) at BlockUi (index.js:57:1) Hi all Im migrating my app to react 18 and getting the above error when we replace the react-block-ui with "@availity/block-ui": "1.0.0",
Nothing changed in the code apart from import BlockUI from '@availity/block-ui' Any quick fix/solution will be helpful