mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
3d09a69d58
* fix: eslint fixes --------- Co-authored-by: gurusainath <gurusainath007@gmail.com>
30 lines
943 B
TypeScript
30 lines
943 B
TypeScript
import { ReactElement } from "react";
|
|
// store
|
|
import { observer } from "mobx-react-lite";
|
|
// layouts
|
|
import { PageHead } from "components/core";
|
|
import { UserProfileHeader } from "components/headers";
|
|
import { ProfileIssuesPage } from "components/profile/profile-issues";
|
|
import { AppLayout } from "layouts/app-layout";
|
|
import { ProfileAuthWrapper } from "layouts/user-profile-layout";
|
|
// components
|
|
// types
|
|
import { NextPageWithLayout } from "lib/types";
|
|
|
|
const ProfileSubscribedIssuesPage: NextPageWithLayout = () => (
|
|
<>
|
|
<PageHead title="Profile - Subscribed" />
|
|
<ProfileIssuesPage type="subscribed" />
|
|
</>
|
|
);
|
|
|
|
ProfileSubscribedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<AppLayout header={<UserProfileHeader type="Subscribed" />}>
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
|
</AppLayout>
|
|
);
|
|
};
|
|
|
|
export default observer(ProfileSubscribedIssuesPage);
|