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
... which does not exist, resulting in the following error:
export 'default' (imported as 'ClickAwayListener') was not found in '@mui/material/ClickAwayListener/ClickAwayListener.js' (possible exports: ClickAwayListener)
I tried to debug where the named import gets lost along the way, and why, but I couldn't figure it out quickly. I hope you know from the top of your head where this happens, otherwise I will try to build a minimal example.
The text was updated successfully, but these errors were encountered:
A recent update of @mui/material changed the ClickAwayListener to be a named export (within the project), not a default export (from outside of the project). (mui/material-ui@24945d4#diff-a583d9ec23bc3ec454a7d0577a5c772c702baf18a9dabc9f635b0546ccfd3fb3)
Regardless of whether I import as named or default import...
... babel-plugin-direct-import rewrites this to
... which does not exist, resulting in the following error:
I tried to debug where the named import gets lost along the way, and why, but I couldn't figure it out quickly. I hope you know from the top of your head where this happens, otherwise I will try to build a minimal example.
The text was updated successfully, but these errors were encountered: