diff --git a/app/components/HotjarLoader.tsx b/app/components/HotjarLoader.tsx index 64e6b676b..c55f6ffe1 100644 --- a/app/components/HotjarLoader.tsx +++ b/app/components/HotjarLoader.tsx @@ -4,7 +4,6 @@ import { useEffect } from "react"; export default function HotjarLoader() { useEffect(() => { - // Hotjar Tracking Code (function (h, o, t, j, a, r) { h.hj = h.hj || @@ -17,7 +16,7 @@ export default function HotjarLoader() { a = o.getElementsByTagName("head")[0]; if (!a) { console.error("Head element not found in the document."); - return; + return; // 如果没有找到 ,直接退出 } // 创建