Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
displayFn: row => abbreviateNumber(row.hero_damage),
sortFn: true,
.map(inflictor => inflictorWithValue(inflictor, abbreviateNumber(field[inflictor]))) : ''),
}, {
displayFn: (row, column, field) => {
if (field) {
const hero = heroNames[field.key] || {};
return (<div>
{inflictorWithValue(field.inflictor, abbreviateNumber(field.value))}
<img role="presentation" src="{`${API_HOST}${hero.img}`}">
</div>);
}
return <div>;
},
},</div>
displayFn: row => abbreviateNumber(row.hero_healing),
sortFn: true,
?
: '-',
}, {
name: ,
value: player.buybacks || '-',
}, {
name: ,
value: player.pings || '-',
}, {
name: ,
value: player.max_hero_hit
? <div>
{inflictorWithValue(player.max_hero_hit.inflictor, abbreviateNumber(player.max_hero_hit.value))}
<span> → </span>
<img role="presentation" style="{{" src="{`${API_HOST}${heroNames[player.max_hero_hit.key].img}`}">
</div>
: '-',
}];
displayFn: row => abbreviateNumber(row.tower_damage),
sortFn: true,
displayFn: row => abbreviateNumber((row.gold_per_min * row.duration) / 60),
sortFn: true,