chore: Print element instance in logWarning function
What does this MR do?
Update logWarning
function and instances to include the component element. This helps find where it's coming from in the code, as I foudn the stack trace hard to follow.
Now you can right click on the button, "View in elements panel" and easily find the cause.
before | after |
---|---|
Can test by editing a story to remove title from a button or modal
Edited by Simon Knox