fix(Sellout): Name correction for sending data to client

This commit is contained in:
chip committed 2020-10-20 00:45:51 +02:00
1 parent 88f527707c
commit 0aa38a98a9
1 file changed
+3 -3
@@ -33,13 +33,13 @@ export const ListingForm = () => {
const [ title, setTitle ] = useState('');
const [ url, setUrl ] = useState('');
const [ desc, setDesc ] = useState('');
const [ description, setDescription ] = useState('');
const addListing = () => {
Nui.send('phone:addListing', {
title,
url,
desc
description
})
}
@@ -67,7 +67,7 @@ export const ListingForm = () => {
<TextField
className={classes.input}
onChange={e => setDesc(e.target.value)}
onChange={e => setDescription(e.target.value)}
placeholder="Description"
inputProps={{ className: classes.multilineFieldInput }}
style={{ width: "80%" }}