Removed unused code

This commit is contained in:
Peter KW 2024-04-01 02:17:02 +02:00
parent cc039d27ae
commit 58deef400a

View file

@ -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}
/> />