From 94071d7ce16c56641d67d488e2bac6be84ffe731 Mon Sep 17 00:00:00 2001
From: 简律纯 <i@jyunko.cn>
Date: Fri, 3 Nov 2023 21:17:06 +0800
Subject: chore: delete useless files

---
 .../kitchen-sink/apps/blog/app/entry.client.tsx    | 22 ----------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 examples/kitchen-sink/apps/blog/app/entry.client.tsx

(limited to 'examples/kitchen-sink/apps/blog/app/entry.client.tsx')

diff --git a/examples/kitchen-sink/apps/blog/app/entry.client.tsx b/examples/kitchen-sink/apps/blog/app/entry.client.tsx
deleted file mode 100644
index 8338545..0000000
--- a/examples/kitchen-sink/apps/blog/app/entry.client.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { RemixBrowser } from "@remix-run/react";
-import { startTransition, StrictMode } from "react";
-import { hydrateRoot } from "react-dom/client";
-
-function hydrate() {
-  startTransition(() => {
-    hydrateRoot(
-      document,
-      <StrictMode>
-        <RemixBrowser />
-      </StrictMode>
-    );
-  });
-}
-
-if (typeof requestIdleCallback === "function") {
-  requestIdleCallback(hydrate);
-} else {
-  // Safari doesn't support requestIdleCallback
-  // https://caniuse.com/requestidlecallback
-  setTimeout(hydrate, 1);
-}
-- 
cgit v1.2.3-70-g09d2

