developmentseed / bioacoustics-frontend

Frontend code for the Google Bioacoustics project that's used by A2O Search
https://search.acousticobservatory.org/
MIT License
2 stars 0 forks source link

Remove `clipLengthError` after setting clip #62

Closed LanesGood closed 1 year ago

LanesGood commented 1 year ago

After a user confirms a clip that is valid and under the max clip seconds, the audio clip length error should be removed.

https://github.com/developmentseed/bioacoustics-frontend/blob/26e97f66dd8243abb78f1820ccbaabf73b055e94/src/app/search/AudioClipper.jsx#L108-L109

Example: in the below, the warning alert should not be rendered because I have selected a 5 second clip. image