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
Describe the bug Cannot read properties of undefined (reading 'main') is occurred.
I am building Avatar component and to add the notification badge to the Avatar component I wrapped the Avatar component with MuiBadge component.
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:
Describe the bug
Cannot read properties of undefined (reading 'main')
is occurred.I am building Avatar component and to add the notification badge to the Avatar component I wrapped the Avatar component with MuiBadge component.
This is the code of my Avatar component.
And the browser shows this error.
If I remove the
color
attribute of the<Badge>
tag, this error will not appear.FYI: I override the palette in the theme context.
System
The text was updated successfully, but these errors were encountered: