fix(browser-extensions): don't render directly in body
This commit is contained in:
@@ -3,5 +3,5 @@ import { startTransition } from 'react';
|
||||
import { hydrateRoot } from 'react-dom/client';
|
||||
|
||||
startTransition(() => {
|
||||
hydrateRoot(document, <RemixBrowser />);
|
||||
hydrateRoot(document.getElementById('root')!, <RemixBrowser />);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user