Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kacprzak, Izabella
DRP-InAGlobe-Platform
Commits
8155e67b
Commit
8155e67b
authored
Jun 21, 2021
by
Kacprzak, Izabella
Browse files
Deleted return to Dashboard from ProjectDetails [IK]
parent
cabe83b9
Pipeline
#204814
passed with stages
in 2 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/ProjectDetails.js
View file @
8155e67b
...
...
@@ -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>
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment