Skip to content

Commit

Permalink
chore(ui): scroll to page top after successful payment
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Oct 8, 2023
1 parent 11ee5b4 commit 33a68b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Send/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ export default function Send({ wallet }: SendProps) {
setIsSweep(false)

form.reset()

window.scrollTo({ top: 0, left: 0, behavior: 'smooth' })
}
}
}
Expand Down

0 comments on commit 33a68b6

Please sign in to comment.