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