-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APL 2334: offline sign #426
base: develop
Are you sure you want to change the base?
Conversation
const ticker = useSelector(getTickerSelector); | ||
const decimals = useSelector(getDecimalsSelector); | ||
|
||
const handleFormSubmit = useCallback(async values => { | ||
console.log("🚀 ~ file: index.jsx:35 ~ handleFormSubmit ~ values:", values) |
There was a problem hiding this comment.
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 => { |
There was a problem hiding this comment.
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!')
или так не срабоатет?
❤️❤️❤️❤️❤️ |
@@ -1 +1 @@ | |||
3.0.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1
No description provided.