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() {
|
function hydrate() {
|
||||||
startTransition(() => {
|
startTransition(() => {
|
||||||
|
document.querySelectorAll('html > script').forEach((s) => {
|
||||||
|
s.parentNode!.removeChild(s);
|
||||||
|
});
|
||||||
|
|
||||||
hydrateRoot(
|
hydrateRoot(
|
||||||
document,
|
document,
|
||||||
<StrictMode>
|
<StrictMode>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue