Trimmed whitespace on upload
This commit is contained in:
parent
e57afed162
commit
0d785ffef2
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user