import React from 'react' import { Link } from 'react-router-dom' import useAuth from '@wasp/auth/useAuth.js' import logout from '@wasp/auth/logout.js' const MainPage = () => { const { data: user } = useAuth() return (