Skip to content

Commit c40005f

Browse files
committed
fix error in line 170
1 parent 3a441dd commit c40005f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Reports/PeopleTableDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function PeopleTableDetails(props) {
167167
<div className='sub-head'>Resources</div>
168168
<div>{value.resources?.map((res, outerIndex) =>
169169
res.map((resource, innerIndex) => {
170-
if (index < 2) {
170+
if (innerIndex < 2) {
171171
return (
172172
<img
173173
key={`${outerIndex}-${innerIndex}`}

0 commit comments

Comments
 (0)