diff --git a/app/page.jsx b/app/page.jsx index 6e3ea3d..2456adc 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -14,11 +14,9 @@ import Footer from "@/components/Footer"; import Link from "next/link"; export default function Home() { - const [currentUserAgent, setCurrentUserAgent] = useState(); const [deviceType, setDeviceType] = useState(""); useEffect(() => { const userAgent = navigator.userAgent; - setCurrentUserAgent(userAgent); //区分设备类型 if (/Android/i.test(userAgent)) { setDeviceType("Android"); @@ -60,8 +58,6 @@ export default function Home() {
-

{deviceType}

-

{currentUserAgent}

手机扫码下载

)}

-
+