Hi, I'm glad it helped you!
Although I would need some context of your application or perhaps where the error is originating from, I've quickly browsed the internet and found that this may help you:
withAuth.name = “withAuth”;
Place this after your component.
You can have a look more here: positioniseverything.net/component-definition-is-…