Trimmed whitespace on upload

This commit is contained in:
Franklin 2023-05-10 12:34:26 -04:00
parent e57afed162
commit 0d785ffef2
1 changed files with 2 additions and 2 deletions

View File

@ -206,8 +206,8 @@ pub fn generate_fields_for_project(props: &ProjectFieldsProps) -> Html {
Err(_) => { Err(_) => {
// Create location // Create location
match create_location(NewLocationPayload { match create_location(NewLocationPayload {
city: (*location_city_handle).clone(), city: (*location_city_handle).clone().trim().to_string(),
district: (*location_district_handle).clone(), district: (*location_district_handle).clone().trim().to_string(),
}) })
.await .await
{ {