Metamigo frontend build fixes
This commit is contained in:
parent
935290bbdc
commit
101fea0bf4
24 changed files with 49 additions and 46 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue