1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

fix(StrategiesList): Added unique render key.

This commit is contained in:
ivaosthu 2018-08-13 09:26:05 +02:00
parent 2860021822
commit 8e30022282

View File

@ -24,7 +24,7 @@ class StrategiesList extends React.Component {
const blocks = configuredStrategies.map((strategy, i) => (
<ConfigureStrategy
index={i}
key={strategy.id}
key={`${strategy.id}-${i}`}
strategy={strategy}
moveStrategy={moveStrategy}
removeStrategy={removeStrategy ? removeStrategy.bind(null, i) : null}