fixed theme toggle

This commit is contained in:
PxlLoewe
2025-02-02 20:23:30 +01:00
parent 3104e8c30d
commit 93804855f1
9 changed files with 199 additions and 122 deletions

View File

@@ -1,8 +1,11 @@
"use client"
import dynamic from "next/dynamic"
const MyAwesomeMap = dynamic(() => import("./_components/Map"), { ssr: false })
'use client';
import dynamic from 'next/dynamic';
const Map = dynamic(() => import('./_components/Map'), { ssr: false });
export default () => {
return <MyAwesomeMap />
}
return (
<div className="relative flex-1">
<Map />
</div>
);
};