mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +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 [ title, setTitle ] = useState('');
|
||||||
const [ url, setUrl ] = useState('');
|
const [ url, setUrl ] = useState('');
|
||||||
const [ desc, setDesc ] = useState('');
|
const [ description, setDescription ] = useState('');
|
||||||
|
|
||||||
const addListing = () => {
|
const addListing = () => {
|
||||||
Nui.send('phone:addListing', {
|
Nui.send('phone:addListing', {
|
||||||
title,
|
title,
|
||||||
url,
|
url,
|
||||||
desc
|
description
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ export const ListingForm = () => {
|
|||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
className={classes.input}
|
className={classes.input}
|
||||||
onChange={e => setDesc(e.target.value)}
|
onChange={e => setDescription(e.target.value)}
|
||||||
placeholder="Description"
|
placeholder="Description"
|
||||||
inputProps={{ className: classes.multilineFieldInput }}
|
inputProps={{ className: classes.multilineFieldInput }}
|
||||||
style={{ width: "80%" }}
|
style={{ width: "80%" }}
|
||||||
|
|||||||
Reference in new issue
Block a user