"use client";

import dynamic from "next/dynamic";

const SchoolMap = dynamic(() => import("@/components/SchoolMap"), {
  ssr: false,
  loading: () => (
    <div className="h-[400px] w-full animate-pulse bg-foreground/5 sm:h-[480px]" />
  ),
});

export default function SchoolMapLoader() {
  return <SchoolMap />;
}
