'use client';

import dynamic from 'next/dynamic';

// Load Leaflet map on client-side ONLY to bypass window-not-defined Node errors
const Dashboard = dynamic(() => import('@/components/Dashboard'), {
  ssr: false,
});

export default function Home() {
  return (
    <main style={{ width: '100vw', height: '100vh', overflow: 'hidden', position: 'relative' }}>
      <Dashboard />
    </main>
  );
}
