Skip to content

Commit

Permalink
Stake screen: do not scroll on tab change
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed Dec 17, 2024
1 parent 07e5cf7 commit ef789e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/src/screens/StakeScreen/StakeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function StakeScreen() {
}))}
selected={TABS.findIndex(({ id }) => id === action)}
onSelect={(index) => {
router.push(`/stake/${TABS[index].id}`);
router.push(`/stake/${TABS[index].id}`, { scroll: false });
}}
/>

Expand Down

0 comments on commit ef789e0

Please sign in to comment.