Metamigo frontend build fixes

This commit is contained in:
Darren Clarke 2023-05-25 07:03:57 +00:00
parent 935290bbdc
commit 101fea0bf4
24 changed files with 49 additions and 46 deletions

View file

@ -1,9 +1,9 @@
import { FC, useEffect } from "react";
import { CircularProgress } from "@material-ui/core";
import { FC, PropsWithChildren, useEffect } from "react";
import { CircularProgress } from "@mui/material";
import { useSession } from "next-auth/react";
import { useRouter } from "next/router";
export const Auth: FC = ({ children }) => {
export const Auth: FC<PropsWithChildren> = ({ children }) => {
const router = useRouter();
const { data: session, status: loading } = useSession();
useEffect(() => {