mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21 lines
521 B
TypeScript
21 lines
521 B
TypeScript
|
"use client";
|
||
|
|
||
|
import { useParams } from "next/navigation";
|
||
|
// components
|
||
|
import AppHeaderWrapper from "@/app/[workspaceSlug]/app-header-wrapper";
|
||
|
import UserProfileHeader from "../header";
|
||
|
import ProfileIssuesMobileHeader from "../mobile-header";
|
||
|
|
||
|
const ProfileHeader = () => {
|
||
|
const { profileViewId } = useParams();
|
||
|
|
||
|
return (
|
||
|
<AppHeaderWrapper
|
||
|
header={<UserProfileHeader type={profileViewId?.toString()} />}
|
||
|
mobileHeader={<ProfileIssuesMobileHeader />}
|
||
|
/>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default ProfileHeader;
|