diff --git a/src/Components/ProjectDetails/ProjectDetails.jsx b/src/Components/ProjectDetails/ProjectDetails.jsx index 3a1223b9..baaaec08 100644 --- a/src/Components/ProjectDetails/ProjectDetails.jsx +++ b/src/Components/ProjectDetails/ProjectDetails.jsx @@ -1,6 +1,5 @@ import React, { useContext, useEffect, useState } from "react"; import "./ProjectDetails.scss"; -import { useHistory } from "react-router"; import { ProjectContext } from "../../contexts/ProjectContext"; import { AuthContext } from "../../Firebase/Auth/Auth"; import { doDeleteProject } from "../../Firebase/firebase"; @@ -14,6 +13,7 @@ import Navigate from "../../assets/Navigate.png"; import ProjectModal from "../ProjectModal/ProjectModal"; import { toast } from "react-toastify"; import DeleteConfirmation from "../DeleteConfirmationModal/DeleteConfirmation"; +import { useHistory } from "react-router-dom"; const ProjectDetails = () => { const { selectedProject, fetchData } = useContext(ProjectContext); @@ -343,7 +343,10 @@ export const ProjectDetailMob = ({ setShowProjectDetailsNotList }) => { }} > -
+
{selectedProject.tags.map((tag, index) => (