Before this, on the calculator view, when height or date were null the call to the API was made anyway.
On this way, the call is not made (avoiding errors), the useSDKFunction doesn't throw exception because the return type cannot be undefined, and on the view anything crashes due to the undefined checks.
Before this, on the calculator view, when height or date were null the call to the API was made anyway.
On this way, the call is not made (avoiding errors), the
useSDKFunction
doesn't throw exception because the return type cannot be undefined, and on the view anything crashes due to the undefined checks.