fix(bank/nui): parseInt amount

This commit is contained in:
chip committed 2020-11-06 02:22:55 +01:00
1 parent c0497bbd92
commit e1ff6eb382
1 file changed
+2 -1
@@ -51,9 +51,10 @@ export const TransferModal = () => {
} }
const addTransfer = () => { const addTransfer = () => {
const transferAmount = parseInt(amount);
Nui.send('phone:addTransfer', { Nui.send('phone:addTransfer', {
targetID, targetID,
amount, transferAmount,
message message
}) })
setShowBankModal(false) setShowBankModal(false)