palodaman / crowdship

MIT License
0 stars 0 forks source link

Add snackbar component and logic to handle invalid addresses #24

Closed Isabella-Tsui closed 1 month ago

Isabella-Tsui commented 1 month ago

Description Add error handling to the accept delivery page such that an indicator appears when an invalid address is input into the origin/destination fields.

Acceptance Criteria

If an invalid location is given, a call should not be made to fetch the listings. If an invalid location is given, a snackbar should appear, and it should only disappear when both the locations are correct.