From f9ddfa36d55db956e8d155252617a76145dff608 Mon Sep 17 00:00:00 2001 From: nzambello Date: Wed, 5 Apr 2023 19:50:52 +0200 Subject: [PATCH] fix: hydration issue on firefox --- app/entry.client.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/entry.client.tsx b/app/entry.client.tsx index af41138..7e3d179 100644 --- a/app/entry.client.tsx +++ b/app/entry.client.tsx @@ -5,6 +5,10 @@ import { ClientProvider } from '@mantine/remix'; function hydrate() { startTransition(() => { + document.querySelectorAll('html > script').forEach((s) => { + s.parentNode!.removeChild(s); + }); + hydrateRoot( document,