import DangerMessage from "@/components/message/DangerMessage";
import { useGetGameCalendar, useGetRaidGroupCalendar, useGetRaidInstanceCalendarEvents } from "@/hooks/CalendarHooks";
import CalendarDisplay from "./CalendarDisplay";
export default function RaidGroupCalendarLoader({
gameId,
raidGroupId
}:{
gameId: string;
raidGroupId: string;
}){
const gameCalendarQuery = useGetGameCalendar(gameId);
const raidGroupCalendarQuery = useGetRaidGroupCalendar(raidGroupId);
const raidInstanceCalendarQuery = useGetRaidInstanceCalendarEvents(raidGroupId);
if(raidGroupCalendarQuery.status === "error"){
return (