Skip to content

Commit

Permalink
Merge pull request #88 from Cerebellum-Network/fix/CBI-2054-invalid-a…
Browse files Browse the repository at this point in the history
…ddress

Fix  invalid address
  • Loading branch information
DmitriyMolch authored Jun 24, 2022
2 parents ddf72f8 + 0b76405 commit 698b8f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Components/Pages/TransferPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,12 @@ type PreflightDetails = {

const TransferPage = () => {
const classes = useStyles();
const { walletType, setWalletType, handleSetHomeChain } = useNetworkManager();
const {
walletType,
setWalletType,
handleSetHomeChain,
setAddress,
} = useNetworkManager();
const destinationBridge = useDestinationBridge();

const {
Expand Down Expand Up @@ -595,6 +600,7 @@ const TransferPage = () => {
disconnect(),
]);
setWalletType("unset");
setAddress(undefined);
}}
>
Change
Expand Down

0 comments on commit 698b8f4

Please sign in to comment.