Closed Trott closed 2 years ago
This pull request fixes 1 alert when merging fa9360387694dc4d073ebb169006fc1e462e6285 into bdee11f90f18cedc1732e10927a5ff585bffec85 - view on LGTM.com
fixed alerts:
✔️ This is a preview version of the site. Built without sensitive environment variables
🔨 Explore the source changes: fa9360387694dc4d073ebb169006fc1e462e6285
🔍 Inspect the deploy log: https://app.netlify.com/sites/upbeat-lovelace-3e9fff/deploys/61df1eb67db03600070883f4
😎 Browse the preview: https://deploy-preview-1888--upbeat-lovelace-3e9fff.netlify.app
The
typeof
check to confirm thatdataPointValue
is a number immediately precedes a check thatdataPointValue
is not null. However all number values, including the unusual ones likeNaN
andInfinity
(and0
), will pass that check. All number values will be!= null
. This change removes the check.