You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, production is down due to the improper handling of numbers. This is not happening in development, which means it could be that the backend is not returning a number somewhere.
It appears that the number rounding is not the major cause of the bug, but rather the assumption that the environment variable 'VITE_MIN_TRAINING_AREA_SIZE' will be a number.
It was configured for the first time in the recent deployment.
aoiAreaInstruction: `Area should be > ${formatAreaInAppropriateUnit(MIN_TRAINING_AREA_SIZE)} and < ${formatAreaInAppropriateUnit(MAX_TRAINING_AREA_SIZE)}.`,
Meanwhile formatAreaInAppropriateUnit expects a number:
Describe the bug
Currently, production is down due to the improper handling of numbers. This is not happening in development, which means it could be that the backend is not returning a number somewhere.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Everything should work fine as before.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: