mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 14:44:31 +00:00
move unique key up in hierarchy
This commit is contained in:
parent
51a6c11db6
commit
b1e105fca5
@ -31,8 +31,8 @@ export const AssetGridList = ({
|
||||
|
||||
if (onReorderAsset) {
|
||||
return (
|
||||
<GridItem col={3} height="100%">
|
||||
<Draggable key={asset.id} index={index} moveItem={onReorderAsset} id={asset.id}>
|
||||
<GridItem key={asset.id} col={3} height="100%">
|
||||
<Draggable index={index} moveItem={onReorderAsset} id={asset.id}>
|
||||
<AssetCard
|
||||
allowedTypes={allowedTypes}
|
||||
asset={asset}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user