Fix build errors

This commit is contained in:
Darren Clarke 2023-03-14 17:40:24 +00:00
parent 785d0965e3
commit d0f1c1337c
28 changed files with 268 additions and 112 deletions

View file

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