Page MenuHomePhabricator

[Cashtab] Clear form data on eToken send
ClosedPublic

Authored by kieran709 on Dec 20 2021, 17:41.

Details

Reviewers
emack
bytesofman
Group Reviewers
Restricted Project
Commits
rABCaec24e9d631b: [Cashtab] Clear form data on eToken send
Summary

Added function which clears the address and amount fields when sending eTokens. Related to task T2106.

Test Plan

cd web/cashtab && npm start
navigate to send-token
send token and ensure form data is cleared

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

See inline comment.

Please also create a task to remove the dirty: param from SendToken.js

web/cashtab/src/components/Send/SendToken.js
81 ↗(On Diff #31483)

The opReturnMsg key is not relevant for SendToken.js

This revision now requires changes to proceed.Dec 20 2021, 22:01

Responding to review feedback

This revision is now accepted and ready to land.Dec 21 2021, 18:19
This revision was automatically updated to reflect the committed changes.