collect-system/apps/web/src/app/main/page.tsx

7 lines
169 B
TypeScript
Raw Normal View History

2024-09-10 11:23:02 +08:00
import { useAuth } from "@web/src/providers/auth-provider"
2024-07-11 11:00:51 +08:00
export default function MainPage() {
2024-09-10 11:23:02 +08:00
const { user } = useAuth()
return <>hello,{user?.username}</>
2024-07-11 11:00:51 +08:00
}