Skip to content

Commit

Permalink
fix: addin key on component
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abe-dev committed Jun 3, 2024
1 parent 435fd22 commit 93b811d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Resource: React.FC<Props> = ({ layer }) => {

if (!isVisible || !Component || !url) return null;

return <Component data={url} clampToGround={clampToGround} />;
return <Component key={url} data={url} clampToGround={clampToGround} />;
};

export default Resource;

0 comments on commit 93b811d

Please sign in to comment.