From 5187b9a6c6e086c5b193d43c9ebfa61b5cb1de6f Mon Sep 17 00:00:00 2001 From: ice breaker <1324318532@qq.com> Date: Wed, 15 Jan 2025 19:27:42 +0800 Subject: [PATCH] chore: remove light-effect --- website/src/theme/Layout.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/website/src/theme/Layout.tsx b/website/src/theme/Layout.tsx index 750ab3fa0..27c1659d4 100644 --- a/website/src/theme/Layout.tsx +++ b/website/src/theme/Layout.tsx @@ -1,13 +1,17 @@ -import { useLocation } from '@docusaurus/router' +// import { useLocation } from '@docusaurus/router' import Layout from '@theme-original/Layout' import React from 'react' export default function LayoutWrapper(props) { - const location = useLocation() + // const location = useLocation() return (
- {location.pathname !== '/' &&
} + {/* {location.pathname !== '/' && ( +
+
+
+ )} */}