Skip to content

Commit

Permalink
move unique key up in hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtofr committed Mar 8, 2023
1 parent 51a6c11 commit b1e105f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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}
Expand Down

0 comments on commit b1e105f

Please sign in to comment.