change owner
This commit is contained in:
parent
fd09d2fb15
commit
f98c228ec7
|
@ -1,3 +1,4 @@
|
||||||
|
import React, { useEffect } from "react";
|
||||||
import { Analytics } from "@vercel/analytics/react";
|
import { Analytics } from "@vercel/analytics/react";
|
||||||
|
|
||||||
import { Home } from "./components/home";
|
import { Home } from "./components/home";
|
||||||
|
@ -8,7 +9,7 @@ const serverConfig = getServerSideConfig();
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
// 使用 useEffect 加载 Hotjar 脚本
|
// 使用 useEffect 加载 Hotjar 脚本
|
||||||
React.useEffect(() => {
|
useEffect(() => {
|
||||||
if (serverConfig?.isVercel) {
|
if (serverConfig?.isVercel) {
|
||||||
(function (h, o, t, j, a, r) {
|
(function (h, o, t, j, a, r) {
|
||||||
h.hj =
|
h.hj =
|
||||||
|
|
Loading…
Reference in New Issue