()
| 14 | }) |
| 15 | |
| 16 | function Dashboard() { |
| 17 | const { user: currentUser } = useAuth() |
| 18 | |
| 19 | return ( |
| 20 | <div> |
| 21 | <div> |
| 22 | <h1 className="text-2xl truncate max-w-sm"> |
| 23 | Hi, {currentUser?.full_name || currentUser?.email} 👋 |
| 24 | </h1> |
| 25 | <p className="text-muted-foreground"> |
| 26 | Welcome back, nice to see you again!!! |
| 27 | </p> |
| 28 | </div> |
| 29 | </div> |
| 30 | ) |
| 31 | } |