"use client";
import { useState } from 'react';
import dynamic from "next/dynamic";
import Link from "next/link";
import Image from "next/image";
import { Section } from "@/components/section";
import { useAuth } from "@/context/authContext";
import { useAdmin } from '@/context/adminContext';
import { GameState } from "@/config/types";
import { mapStyles } from '@/config/configurations';
import TeamSidePanel from "./components/teamSidePanel";
import TeamViewer from './components/teamViewer';
import { emitState } from '@/services/socket/emitters';
// Imported at runtime and not at compile time
const LiveMap = dynamic(() => import('./components/liveMap'), { ssr: false });
function MainTitle() {
return (