2023-11-02 18:27:44 +00:00
|
|
|
import React, { ReactElement } from "react";
|
2023-10-17 10:53:54 +00:00
|
|
|
// layouts
|
2023-10-25 10:18:57 +00:00
|
|
|
import { AppLayout } from "layouts/app-layout";
|
2023-11-23 09:14:06 +00:00
|
|
|
import { ProfileAuthWrapper } from "layouts/user-profile-layout";
|
2023-07-28 08:09:42 +00:00
|
|
|
// components
|
2023-10-25 10:18:57 +00:00
|
|
|
import { UserProfileHeader } from "components/headers";
|
2023-07-28 08:09:42 +00:00
|
|
|
// types
|
2023-11-02 18:27:44 +00:00
|
|
|
import { NextPageWithLayout } from "types/app";
|
2023-11-27 08:45:33 +00:00
|
|
|
import { ProfileIssuesPage } from "components/profile/profile-issues";
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2023-12-05 11:56:57 +00:00
|
|
|
const ProfileAssignedIssuesPage: NextPageWithLayout = () => <ProfileIssuesPage type="assigned" />;
|
2023-11-02 18:27:44 +00:00
|
|
|
|
|
|
|
ProfileAssignedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
2023-10-17 10:53:54 +00:00
|
|
|
return (
|
2023-11-23 09:14:06 +00:00
|
|
|
<AppLayout header={<UserProfileHeader />}>
|
2023-11-02 18:27:44 +00:00
|
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
2023-10-25 10:18:57 +00:00
|
|
|
</AppLayout>
|
2023-10-17 10:53:54 +00:00
|
|
|
);
|
2023-11-02 18:27:44 +00:00
|
|
|
};
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
export default ProfileAssignedIssuesPage;
|