Skip to content

Commit

Permalink
fix: wallet rename confirm prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerAnsh committed Oct 11, 2024
1 parent 1ea734e commit adf8205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/handlers/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ async function renameWalletHandler(input: string[]) {
type: "confirm",
message: `Are you sure you want to remove wallet ${State.wallets.currentWallet?.name}?`,
});
if (confirmed) {
if (confirmed.confirm) {
await State.wallets.renameWallet(State.wallets.currentWallet?.name, newName);
await title();
}
Expand Down

0 comments on commit adf8205

Please sign in to comment.