//Lib import Head from 'next/head'; import 'react-toastify/dist/ReactToastify.css'; import { useSession } from 'next-auth/react'; import { authOptions } from '../../pages/api/auth/[...nextauth]'; import { getServerSession } from 'next-auth/next'; //Components import UserSettings from '../../Containers/UserSettings/UserSettings'; export default function Account() { ////Var const { status, data } = useSession(); //Function if (status == 'unauthenticated' || status == 'loading') { return
Loading...
; } return ( <>