mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
24 lines
804 B
TypeScript
24 lines
804 B
TypeScript
import { ReactElement } from "react";
|
|
// store
|
|
import { observer } from "mobx-react-lite";
|
|
// layouts
|
|
import { AppLayout } from "layouts/app-layout";
|
|
import { ProfileAuthWrapper } from "layouts/user-profile-layout";
|
|
// components
|
|
import { UserProfileHeader } from "components/headers";
|
|
// types
|
|
import { NextPageWithLayout } from "types/app";
|
|
import { ProfileIssuesPage } from "components/profile/profile-issues";
|
|
|
|
const ProfileCreatedIssuesPage: NextPageWithLayout = () => <ProfileIssuesPage type="created" />;
|
|
|
|
ProfileCreatedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<AppLayout header={<UserProfileHeader />}>
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
|
</AppLayout>
|
|
);
|
|
};
|
|
|
|
export default observer(ProfileCreatedIssuesPage);
|