Skip to content

Commit

Permalink
Update Items.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlevoy committed Dec 18, 2018
1 parent b05ef79 commit e9fc75c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Items.js
Expand Up @@ -66,6 +66,7 @@ export class Items extends React.Component<*> {
<View style={this.props.style} pointerEvents="box-none">
{this.props.itemsList.map(item => {
if (item.type === 'bad') return Danger(item);
console.log('coucou')
const isFound = this.props.foundTreasures.includes(item.key);
return Box(item, isFound, this.props.isFinalChestVisible);
})}
Expand Down

0 comments on commit e9fc75c

Please sign in to comment.