Home > database >  Material ui export 'useInsertionEffect' (imported as 'useInsertionEffect$1') was
Material ui export 'useInsertionEffect' (imported as 'useInsertionEffect$1') was

Time:02-20

here is the error.

1: https://i.stack.imgur.com/Y2Zdo.png**strong text**enter image description here

here i am trying to use Appbar component of material ui but i get this error

CodePudding user response:

It's possible that there is an error in the latest version of @emotion/react, 11.8.0. It was released 3h ago which would explain why it stopped working all of a sudden.

As a workaround, install the older version @emotion/[email protected] to fix the problems.

CodePudding user response:

This issue for other components in mui lib too, you can downgrade emotion/react to 11.7.1 till it's fixed

  • Related