Skip to content

Conversation

@RomanFirstBridge
Copy link
Collaborator

No description provided.

const decimals = useSelector(getDecimalsSelector);

const handleFormSubmit = useCallback(async values => {
console.log("🚀 ~ file: index.jsx:35 ~ handleFormSubmit ~ values:", values)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

убрать наверное надо

const isVaultWallet = checkIsVaultWallet(data.secretPhrase, accountRS);

if (isVaultWallet) {
processForm({ decimals, ...data }, 'sendMoney', 'Transaction has been submitted!', res => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

чтоб не повторять дважды кусок когда после получения res, то по идее можно в переменную получить res тут res = await processForm({ decimals, ...data }, 'sendMoney', 'Transaction has been submitted!') или так не срабоатет?

@pppppppppppppppppfffffffff

❤️❤️❤️❤️❤️

@@ -1 +1 @@
3.0.9 No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants