forked from github/plane
5b0066140f
* chore: format all files in the project * fix: removing @types/react from dependencies * fix: adding prettier and eslint config * chore: format files * fix: upgrading turbo version * chore: ignoring warnings and adding todos * fix: updated the type of bubble menu item in the document editor * chore: format files --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
27 lines
873 B
TypeScript
27 lines
873 B
TypeScript
import { ReactElement } from "react";
|
|
// layouts
|
|
import { AppLayout } from "layouts/app-layout";
|
|
import { ProjectSettingLayout } from "layouts/settings-layout";
|
|
// components
|
|
import { ProjectSettingHeader } from "components/headers";
|
|
import { ProjectMemberList, ProjectSettingsMemberDefaults } from "components/project";
|
|
// types
|
|
import { NextPageWithLayout } from "types/app";
|
|
|
|
const MembersSettingsPage: NextPageWithLayout = () => (
|
|
<section className={`w-full overflow-y-auto py-8 pr-9`}>
|
|
<ProjectSettingsMemberDefaults />
|
|
<ProjectMemberList />
|
|
</section>
|
|
);
|
|
|
|
MembersSettingsPage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<AppLayout header={<ProjectSettingHeader title="Members Settings" />} withProjectWrapper>
|
|
<ProjectSettingLayout>{page}</ProjectSettingLayout>
|
|
</AppLayout>
|
|
);
|
|
};
|
|
|
|
export default MembersSettingsPage;
|