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 { NewProject } from "../Types/goTypes";
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
@ -51,13 +51,8 @@ export function ProjectListAdmin(props: {
isVisible={projectModalVisible}
projectname={projectname}
/>
<UserInfoModal
manageMember={true}
<MemberInfoModal
onClose={handleCloseUser}
//TODO: CHANGE TO REMOVE USER FROM PROJECT
onDelete={() => {
return;
}}
isVisible={userModalVisible}
username={username}
/>