Skip to content

Commit 97520b1

Browse files
committed
Fix bug when deleting hazards in SDS entry
1 parent 58d1497 commit 97520b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/sds/SdsEntry/SdsEntry.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const SdsEntry = (props: Props) => {
114114
index={index}
115115
formMethods={formMethods}
116116
arrayMethods={hazardsArrayMethods}
117-
key={index}
117+
key={field.id}
118118
/>
119119
))}
120120
</ul>

0 commit comments

Comments
 (0)