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:
parent
2860021822
commit
8e30022282
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user