Skip to content

Commit

Permalink
accept current changes for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
marshalljordan1 committed Dec 18, 2023
1 parent f8aef4f commit a154f5d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/components/apps/Apps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,12 @@ import { useEffect, useState } from "react";
import {
apiCallApps,
apiCallAppsInfo,
<<<<<<< HEAD
deleteAppById,
=======
deleteApiApps,
>>>>>>> develop
} from "../../store/reducers/appsCall/appsCallApiFunctionality";
import { useDispatch, useSelector } from "react-redux";
import ModalApps from "./appsAdminView/modalApps";
import trashIcon from "../../assets/img/icon-delete-faq-backoffice.png";
import githubLogo from "../../assets/img/githubLogo.svg";
<<<<<<< HEAD
import DeleteAppModal from "./appsAdminView/DeleteAppModal";
=======
>>>>>>> develop
import { useTranslation } from "react-i18next";

declare global {
Expand Down Expand Up @@ -89,16 +81,9 @@ const Apps = () => {
</button>
<a
className="flex mt-3 mr-4"
<<<<<<< HEAD
onClick={() => handleDelete(app.id)}
onKeyDown={(event) => {
if (event.key === "Enter") handleDelete(app.id);
=======
onClick={() => deleteApiApps(app.id, acces_token, dispatch)}
onKeyDown={(event) => {
if (event.key === "Enter")
deleteApiApps(app.id, acces_token, dispatch);
>>>>>>> develop
}}
>
<img src={trashIcon} alt="eliminar" className="w-10" />
Expand Down Expand Up @@ -131,7 +116,6 @@ const Apps = () => {
);
})}
<ModalApps newInfoApps={newInfoApps} setNewInfoApps={setNewInfoApps} />
<<<<<<< HEAD

{/* DeleteAppModal rendered conditionally */}
{window.location.pathname === "/backoffice" &&
Expand All @@ -147,8 +131,6 @@ const Apps = () => {
}}
/>
)}
=======
>>>>>>> develop
</>
);
};
Expand Down

0 comments on commit a154f5d

Please sign in to comment.