Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const transformMatchItem = ({ field }) => {
if (field === 0) {
return false;
}
return `${API_HOST}${constants.items[constants.item_ids[field]].img}`;
};