Skip to content

Commit 9e50e77

Browse files
committed
delete companies fix
1 parent 863abed commit 9e50e77

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={index}>
15+
<p key={companynames.id}>
1616
<Button
1717
onClick={() => this.props.deleteCompany(companynames.id)}
1818
>

0 commit comments

Comments
 (0)