plane/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx

30 lines
955 B
TypeScript
Raw Normal View History

import { ReactElement } from "react";
// store
import { observer } from "mobx-react-lite";
// 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";
// components
// types
2024-03-19 14:38:35 +00:00
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);