mirror of
https://github.com/rappleit/yeego-linkedin-prototype.git
synced 2026-01-12 07:23:52 +08:00
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
import ProfileScreen from "@/components/profile/ProfileScreen";
|
|
import { AuthContext } from "@/contexts/AuthContext";
|
|
import { useContext } from "react";
|
|
|
|
export default function HomeScreen() {
|
|
const authContext = useContext(AuthContext);
|
|
const userId = authContext?.user?.id || "";
|
|
|
|
return (
|
|
<ProfileScreen userId={userId} />
|
|
);
|
|
}
|
|
|
|
|