db 연결 패치

This commit is contained in:
2026-03-01 15:02:44 +09:00
parent c0b3598f88
commit 5c4117658e
4 changed files with 25 additions and 5 deletions

View File

@@ -77,10 +77,13 @@ const MapResizer = () => {
};
const AdSenseComponent = () => {
const loadedRef = useRef(false);
useEffect(() => {
if (loadedRef.current) return;
try {
// @ts-ignore
(window.adsbygoogle = window.adsbygoogle || []).push({});
loadedRef.current = true;
} catch (e) {
console.error('AdSense error:', e);
}