From 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 Mon Sep 17 00:00:00 2001
From: 简律纯 <i@jyunko.cn>
Date: Fri, 3 Nov 2023 21:13:33 +0800
Subject: chore: delete useless codes

---
 docs/components/useIsomorphicLayoutEffect.tsx | 7 -------
 1 file changed, 7 deletions(-)
 delete mode 100644 docs/components/useIsomorphicLayoutEffect.tsx

(limited to 'docs/components/useIsomorphicLayoutEffect.tsx')

diff --git a/docs/components/useIsomorphicLayoutEffect.tsx b/docs/components/useIsomorphicLayoutEffect.tsx
deleted file mode 100644
index c685670..0000000
--- a/docs/components/useIsomorphicLayoutEffect.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import * as React from "react";
-
-const useIsomorphicLayoutEffect =
-  typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
-
-/* eslint-disable-next-line import/no-default-export -- TODO: Fix ESLint Error (#13355) */
-export default useIsomorphicLayoutEffect;
-- 
cgit v1.2.3-70-g09d2

