The solution: listen to it and disable the broken component. Might be worth asking the owner to fix it here if you want to keep using it:
If you really want to hide it and leave the broken component in then you can just put this in a new component but I would really advise against doing so.
.broken-theme-alert-banner {
display: none;
}