Skip to content

Commit

Permalink
fix rarity attribute undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbalfasri committed Sep 9, 2021
1 parent 9f6a344 commit 7a568a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const constructLayerToDna = (_dna = [], _layers = [], _rarity) => {
location: layer.location,
position: layer.position,
size: layer.size,
selectedElement: selectedElement,

This comment has been minimized.

Copy link
@tirrekvdb

tirrekvdb Nov 12, 2021

can you reupload the old version of the video (part 2) ? because I was quite getting the hang of that. than something crashed And i do not have a backup of the index.js

selectedElement: {...selectedElement, rarity: _rarity },
};
});
return mappedDnaToLayers;
Expand Down

0 comments on commit 7a568a4

Please sign in to comment.