fix: hydration issue on firefox
This commit is contained in:
parent
a8bfa9e92d
commit
f9ddfa36d5
|
|
@ -5,6 +5,10 @@ import { ClientProvider } from '@mantine/remix';
|
|||
|
||||
function hydrate() {
|
||||
startTransition(() => {
|
||||
document.querySelectorAll('html > script').forEach((s) => {
|
||||
s.parentNode!.removeChild(s);
|
||||
});
|
||||
|
||||
hydrateRoot(
|
||||
document,
|
||||
<StrictMode>
|
||||
|
|
|
|||
Loading…
Reference in a new issue