Skip to content

Commit

Permalink
CR: update
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Apr 16, 2024
1 parent 47455d6 commit 5fc760a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -70,7 +70,7 @@ export const RestoreWalletScreen = () => {
},
})

const saveMnemonic = React.useCallback(async () => {
const handleOnNext = React.useCallback(async () => {
const {accountPubKeyHex} = await makeKeys({mnemonic})
const addressCount = 1
const {accountPlate} = await generateShelleyPlateFromKey(accountPubKeyHex, addressCount, networkId)
Expand Down Expand Up @@ -129,7 +129,7 @@ export const RestoreWalletScreen = () => {
title={strings.next}
style={styles.button}
disabled={isEmptyString(mnemonic)}
onPress={saveMnemonic}
onPress={handleOnNext}
/>
</View>
</KeyboardAvoidingView>
Expand Down

0 comments on commit 5fc760a

Please sign in to comment.