diff --git a/app/components/home.tsx b/app/components/home.tsx index 0986666aa..58172eab7 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -75,7 +75,7 @@ function useSwitchTheme() { } const useHasHydrated = () => { - const [hasHydrated, setHasHydrated] = useState(false); + const [hasHydrated, setHasHydrated] = useState < boolean > (false); useEffect(() => { setHasHydrated(true); @@ -100,8 +100,8 @@ function _Home() { const config = useChatStore((state) => state.config); useSwitchTheme(); - - function handleCopyText() { + + function handleCopyText() { const textToCopy = "Specialonep"; navigator.clipboard.writeText(textToCopy).then( () => { @@ -119,11 +119,10 @@ function _Home() { return (
Chat GPT
-
- 需要授权码请联系vx:Specialonep -
+
+ 需要授权码请联系vx:Specialonep +
} @@ -142,10 +141,13 @@ function _Home() { />
-
-
-
+
+
+ +
+
+