Disable React StrictMode (#1654)

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
(cherry picked from commit 6575c327a3ac2b107a6e79a04fa61168d779dbf0)
This commit is contained in:
Johannes du Plessis 2026-06-30 15:49:42 -07:00 • committed by Adam Moussa
parent ddaa87b97d
commit 140a8c825c
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
import { StartClient } from "@tanstack/react-start/client"
import { StrictMode, useEffect, useState } from "react"
import { useEffect, useState } from "react"
import { hydrateRoot } from "react-dom/client"
import { registerSW } from "virtual:pwa-register"
@ -35,8 +35,8 @@ function PwaUpdateProvider() {
hydrateRoot(
document,
<StrictMode>
<>
<StartClient />
<PwaUpdateProvider />
</StrictMode>
</>
)