Skip to content
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

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

APL 2334: offline sign #426

wants to merge 12 commits into from

Conversation

RomanFirstBridge
Copy link
Collaborator

No description provided.

const ticker = useSelector(getTickerSelector);
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

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.

3 participants