Removed unused code
This commit is contained in:
parent
cc039d27ae
commit
58deef400a
1 changed files with 2 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { NewProject } from "../Types/goTypes";
|
import { NewProject } from "../Types/goTypes";
|
||||||
import ProjectInfoModal from "./ProjectInfoModal";
|
import ProjectInfoModal from "./ProjectInfoModal";
|
||||||
import UserInfoModal from "./UserInfoModal";
|
import MemberInfoModal from "./MemberInfoModal";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list of projects for admin manage projects page, that sets an onClick
|
* A list of projects for admin manage projects page, that sets an onClick
|
||||||
|
@ -51,13 +51,8 @@ export function ProjectListAdmin(props: {
|
||||||
isVisible={projectModalVisible}
|
isVisible={projectModalVisible}
|
||||||
projectname={projectname}
|
projectname={projectname}
|
||||||
/>
|
/>
|
||||||
<UserInfoModal
|
<MemberInfoModal
|
||||||
manageMember={true}
|
|
||||||
onClose={handleCloseUser}
|
onClose={handleCloseUser}
|
||||||
//TODO: CHANGE TO REMOVE USER FROM PROJECT
|
|
||||||
onDelete={() => {
|
|
||||||
return;
|
|
||||||
}}
|
|
||||||
isVisible={userModalVisible}
|
isVisible={userModalVisible}
|
||||||
username={username}
|
username={username}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue