2023-11-02 18:27:44 +00:00
|
|
|
import { ReactElement } from "react";
|
2023-11-02 10:55:44 +00:00
|
|
|
// store
|
|
|
|
import { observer } from "mobx-react-lite";
|
2023-07-28 08:09:42 +00:00
|
|
|
// layouts
|
2024-03-19 14:38:35 +00:00
|
|
|
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";
|
2023-07-28 08:09:42 +00:00
|
|
|
// components
|
|
|
|
// types
|
2024-03-19 14:38:35 +00:00
|
|
|
import { NextPageWithLayout } from "@/lib/types";
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2024-02-20 08:06:38 +00:00
|
|
|
const ProfileCreatedIssuesPage: NextPageWithLayout = () => (
|
|
|
|
<>
|
|
|
|
<PageHead title="Profile - Created" />
|
|
|
|
<ProfileIssuesPage type="created" />
|
|
|
|
</>
|
|
|
|
);
|
2023-11-02 18:27:44 +00:00
|
|
|
|
|
|
|
ProfileCreatedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
2023-11-02 10:55:44 +00:00
|
|
|
return (
|
2024-02-08 12:19:26 +00:00
|
|
|
<AppLayout header={<UserProfileHeader type="Created" />}>
|
2023-11-02 18:27:44 +00:00
|
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
2023-11-02 10:55:44 +00:00
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
export default observer(ProfileCreatedIssuesPage);
|