mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
55afef204d
* style: responsive profile * style: profile header drop down, sidebar auto show hide depending on the screen width * fix: item tap on white space in the drop down menu in profile header * fix: profile layout breaking on big screens in page visit
22 lines
768 B
TypeScript
22 lines
768 B
TypeScript
import React, { ReactElement } from "react";
|
|
// layouts
|
|
import { AppLayout } from "layouts/app-layout";
|
|
import { ProfileAuthWrapper } from "layouts/user-profile-layout";
|
|
// components
|
|
import { UserProfileHeader } from "components/headers";
|
|
// types
|
|
import { NextPageWithLayout } from "lib/types";
|
|
import { ProfileIssuesPage } from "components/profile/profile-issues";
|
|
|
|
const ProfileAssignedIssuesPage: NextPageWithLayout = () => <ProfileIssuesPage type="assigned" />;
|
|
|
|
ProfileAssignedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<AppLayout header={<UserProfileHeader type="Assigned" />}>
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
|
</AppLayout>
|
|
);
|
|
};
|
|
|
|
export default ProfileAssignedIssuesPage;
|