Skip to content

Commit

Permalink
feat(SPV-1040): Clear xPriv field on onClear xPub (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazarii-4chain authored Sep 20, 2024
1 parent 112b0ef commit 7c66154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AddXpubDialog/AddXpubDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const AddXpubDialog = ({ className }: AddXpubDialogProps) => {
};

const onXPubClear = () => {
form.resetField('xPub');
form.reset();
if (xPubRef.current) {
xPubRef.current?.focus();
}
Expand Down

0 comments on commit 7c66154

Please sign in to comment.