Skip to content

Commit

Permalink
fixed(frontend) asset page now retains page scroll position.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel-Palestino committed Aug 3, 2024
1 parent c61e03e commit 7cba729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/app/routes/assets.$assetId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,15 @@ export default function ViewAssetPage() {
<div className='flex space-x-4'>
<Button
aria-label='deposit asset liquidity page'
preventScrollReset
type='button'
to={`/assets/${asset.id}/deposit-liquidity`}
>
Deposit liquidity
</Button>
<Button
aria-label='withdraw asset liquidity page'
preventScrollReset
type='button'
to={`/assets/${asset.id}/withdraw-liquidity`}
>
Expand Down

0 comments on commit 7cba729

Please sign in to comment.