Skip to content

Commit d87b209

Browse files
committed
delete companies fix 2.0
1 parent 9e50e77 commit d87b209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/companies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Companies extends Component {
1212
<div>
1313
{companyName.map((companynames, index) => {
1414
return (
15-
<p key={companynames.id}>
15+
<p key={index}>
1616
<Button
1717
onClick={() => this.props.deleteCompany(companynames.id)}
1818
>

0 commit comments

Comments
 (0)