Commit 2f176f0b authored by Giannis Kopanas's avatar Giannis Kopanas

fix(warnings): key actions

parent 762432f4
Pipeline #8357 failed with stages
in 15 minutes and 43 seconds
......@@ -20,9 +20,21 @@ const OwnerItem = ({ project, version, deleteProject }) => {
const manuscriptLink = `${baseLink}/manuscript`
const actionButtons = {
submit: <Action to={submitLink}>Summary Info</Action>,
manuscript: <Action to={manuscriptLink}>Manuscript</Action>,
delete: <Action onClick={() => deleteProject(project)}>Delete</Action>,
submit: (
<Action key="submit-action" to={submitLink}>
Summary Info
</Action>
),
manuscript: (
<Action key="manuscript-action" to={manuscriptLink}>
Manuscript
</Action>
),
delete: (
<Action key="delete-action" onClick={() => deleteProject(project)}>
Delete
</Action>
),
}
const unauthorized = (
......
Markdown is supported
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