Commit 8155e67b authored by Kacprzak, Izabella's avatar Kacprzak, Izabella
Browse files

Deleted return to Dashboard from ProjectDetails [IK]

parent cabe83b9
Pipeline #204814 passed with stages
in 2 minutes and 35 seconds
......@@ -15,15 +15,8 @@ const ProjectDetails = () => {
.then(() => { history.push('/'); })
};
const handleReturn = e => {
history.push('/');
}
return (
<div className="project-details">
<div className="ret-prev-page">
<button onClick={handleReturn}>To Dashboard</button>
</div>
<br />
{ isPending && <h2>Loading...</h2> }
{ project && <h2>{project.name}</h2> }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment