"use client"; import { FC } from "react"; import { useLayoutEffect } from "react"; import { useRouter } from "next/navigation"; import { Grid, CircularProgress } from "@mui/material"; import Iframe from "react-iframe"; import { useAppContext } from "app/_components/AppProvider"; export const Setup: FC = () => { const { colors: { leafcutterElectricBlue }, } = useAppContext(); const router = useRouter(); useLayoutEffect(() => { setTimeout(() => router.push("/"), 4000); }, [router]); return (