Skip to content

Commit

Permalink
removed extra unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr615-TN committed Nov 19, 2024
1 parent b670a93 commit a955cc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion FrontEndReact/src/View/Admin/View/ViewTeams/ViewTeams.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ class ViewTeams extends Component {
window.confirm("Are you sure you want to delete this team?")
) {
this.deleteTeam(teamId);
console.log("Delete Team should be called ", teamId);
}
}}
aria-label="deleteTeamIconButton"
Expand Down
3 changes: 0 additions & 3 deletions FrontEndReact/src/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ export async function genericResourcePOST(fetchURL, component, body, options = {
export async function genericResourcePUT(fetchURL, component, body, options = {}) {
return await genericResourceFetch(fetchURL, null, component, "PUT", body, options);
}
export async function genericResourceDelete(fetchURL, resource,component) {
return await genericResourceFetch(fetchURL, resource, component, "DELETE", null);
}

export async function genericResourceDELETE(fetchURL, component, options = {}) {
return await genericResourceFetch(fetchURL, null, component, "DELETE", null, options)
Expand Down

0 comments on commit a955cc2

Please sign in to comment.