fix: vite hmr

This commit is contained in:
Razboy20
2025-09-11 13:29:33 -05:00
parent 8f7e1bc0af
commit ea34a7807f
9 changed files with 3423 additions and 1049 deletions

View File

@@ -10,9 +10,8 @@ const support = getSiteSupport(window.location.href);
const renderComponent = (Component: React.ComponentType) => {
const container = document.createElement('div');
container.id = 'extension-root';
document.body.appendChild(container);
// all components are portaled away, not actually rendered to screen
createRoot(container).render(
<React.StrictMode>
<Component />