Closed 2ndtlmining closed 1 year ago
Possible solution:
o.fusion_fee?.toFixed(2);
// do something with result, which will be undefined if o.fusion_fee is null or undefined.concat(o.fusion_fee ? o.fusion_fee.toFixed(2): "0", "Fusion Fee")
Thanks mate. Yeah ended up fixing it in March forgot to close it up :) Thanks for looking btw ended up doing this so similar to your option 2:
@victorquanlam
Ended up fixing with:
Problem description
We ran into an issue with the website completely not launching when we received a NULL value for one of the fees:
https://fusion.runonflux.io/fees
Resulting in website breaking a bit:
Proposed Fix
Although we should not be receiving NULL value, we should still render the site with no value in if we can.