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 ProfileSubscribedIssuesPage: NextPageWithLayout = () => (
|
|
|
|
<>
|
|
|
|
<PageHead title="Profile - Subscribed" />
|
|
|
|
<ProfileIssuesPage type="subscribed" />
|
|
|
|
</>
|
|
|
|
);
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
ProfileSubscribedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
return (
|
2024-02-08 12:19:26 +00:00
|
|
|
<AppLayout header={<UserProfileHeader type="Subscribed" />}>
|
2023-11-02 18:27:44 +00:00
|
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default observer(ProfileSubscribedIssuesPage);
|