mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Trim listing title and description before saving
This commit is contained in:
parent
9d319a6275
commit
8dd6e329d5
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@ const EditListingDescriptionPanel = props => {
|
|||
onSubmit={values => {
|
||||
const { title, description, category } = values;
|
||||
const updateValues = {
|
||||
title,
|
||||
description,
|
||||
title: title.trim(),
|
||||
description: description.trim(),
|
||||
publicData: { category },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue