mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
fix(Sellout): Name correction for sending data to client
This commit is contained in:
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%" }}
|
||||
|
||||
Reference in new issue
Block a user