Files
Nachhilfesystem24/web/src/pages/DashboardPage/DashboardPage.tsx
2024-10-04 16:46:22 +02:00

22 lines
484 B
TypeScript

// import { Link, routes } from '@redwoodjs/router'
import { Metadata } from '@redwoodjs/web'
import { useAuth } from 'src/auth'
const DashboardPage = () => {
const { currentUser } = useAuth()
return (
<>
<Metadata title="Dashboard" description="Dashboard page" />
<div className="mx-8 my-8">
<h1 className="text-2xl">
Hello {currentUser.firstName} {currentUser.lastName}
</h1>
</div>
</>
)
}
export default DashboardPage