Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<code value="{coupon.code}">
</code><code value="{coupon.code}">
{ (coupon.savedPrice && coupon.savedPrice.value > 0) &&
}
);
</code>
{hasStrikePrice && (
)}
);
};
{!!specialPrice && (
)}
);
<title value="{coupon.label}">
</Portal>
<Portal name={portals.CART_ITEM_NAME_AFTER} props={context} />
<Portal name={portals.CART_ITEM_COUPON_CODE_BEFORE} props={context} />
<Portal name={portals.CART_ITEM_COUPON_CODE} props={context}>
<Code value={coupon.code} />
</Portal>
<Portal name={portals.CART_ITEM_COUPON_CODE_BEFORE} props={context} />
</Grid.Item>
<Grid.Item className={`${styles.content} ${styles.contentLast}`} grow={1} shrink={0}>
<Delete handleDelete={handleDelete} />
{ (coupon.savedPrice && coupon.savedPrice.value > 0) &&
<Fragment>
<Portal name={portals.CART_ITEM_PRICE_BEFORE} props={context} />
<Portal name={portals.CART_ITEM_PRICE} props={context}>
<CouponPrice currency={currency} savedPrice={coupon.savedPrice} />
</Portal>
<Portal name={portals.CART_ITEM_PRICE_AFTER} props={context} />
</Fragment>
}
</Grid.Item>
</Grid>
);
</title>
{hasStrikePrice && (
)}
);
};
<code value="{coupon.code}">
</code><code value="{coupon.code}">
{(coupon.savedPrice && coupon.savedPrice.value > 0) &&
}
);
</code>