Skip to content
Snippets Groups Projects
Commit b384e5c4 authored by Daniel Sandu's avatar Daniel Sandu
Browse files

refactor(AuthorReviews): refactored code

parent 51449da0
No related branches found
No related tags found
2 merge requests!136Sprint 22 features (updates),!131fix: The download button does not work - functionality issues
...@@ -31,12 +31,12 @@ const AuthorReviews = ({ ...@@ -31,12 +31,12 @@ const AuthorReviews = ({
<SubmittedReportsNumberForAuthorReviews reports={reports.length} /> <SubmittedReportsNumberForAuthorReviews reports={reports.length} />
} }
> >
{reports.map((r, i) => ( {reports.map(r => (
<ReviewerReportAuthor <ReviewerReportAuthor
getSignedUrl={getSignedUrl} getSignedUrl={getSignedUrl}
journal={journal} journal={journal}
key={r.id} key={r.id}
report={reports[i]} report={r}
token={token} token={token}
/> />
))} ))}
......
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