Open sentry-io[bot] opened 3 months ago
Hey @chrisling-dev I think you found a solution to this - could you advise?
Hey @chrisling-dev I think you found a solution to this - could you advise?
Hey so the problem and solution I found before was that translation extensions were messing up with react nodes, for example, this would throw the same error if you have translation software running:
<Button>
<Spinner />
Do something
</Button>
And it could be easily fixed by wrapping string:
<Button>
<Spinner />
<span>Do something</span>
</Button>
However I dont think this is the same thing as the code throwing this does not have any text rendering. But I did notice that the extension has some script that is invoking these functions and am wondering if it could be those scripts
// inject before head element so that it executes before everything else
const parent = document?.head || document?.documentElement
parent?.insertBefore(script, parent.children[0])
parent?.removeChild(script)
Other than these 2 places to look, I have no idea what is wrong here, potentially the user might have some other extensions that is trying to remove something?
Sentry Issue: PORTAL-62G