Error when adding muiCache
from mui-5 documentation
#64
Answered
by
garronej
nenaddimitrijevic89
asked this question in
Q&A
-
Does someone had this kind of error:
when adding this piece of code from mui-5 documentation
|
Beta Was this translation helpful? Give feedback.
Answered by
garronej
Mar 2, 2022
Replies: 2 comments 16 replies
-
Hi @nenaddimitrijevic89, Best |
Beta Was this translation helpful? Give feedback.
16 replies
Answer selected by
nenaddimitrijevic89
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nenaddimitrijevic89,
Make sure you are importing createCache like this:
import createCache from "@emotion/cache";
.If you are, update
@emotion/styled
and@emotion/react
to the latest version and you should be good to go.Best