To allow users to import a custom token, the canister IDs need to be entered, reviewed by the user, and then saved to the NNS-dapp canister. This update introduces the review step and ensures that the token is saved after user confirmation.
Changes
Display step 2 (review) when the “Next” button is clicked on step 1.
Call addImportToken when the “Confirm” button is clicked on step 2.
Tests
Unit tests have been added.
Todos
[ ] Add entry to changelog (if necessary).
Not necessary.
Motivation
To allow users to import a custom token, the canister IDs need to be entered, reviewed by the user, and then saved to the NNS-dapp canister. This update introduces the review step and ensures that the token is saved after user confirmation.
Changes
addImportToken
when the “Confirm” button is clicked on step 2.Tests
Todos