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
🐛 Fix check for display name to check if type is string before
Prevents potential errors by ensuring that `el.type` is not undefined before accessing its properties, specifically when checking for a click handler in the accordion component.
Adds a check to confirm that `el.type` is not a string and exists before attempting to access `el.type.displayName`. This prevents unexpected behavior when `el.type` is not an object with a `displayName` property.
0 commit comments