Skip to content

Commit

Permalink
fix: redirections with basename (#2062)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Nov 29, 2023
1 parent 648f853 commit 299987d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/modules/toast/toasts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function getUpsertRentalSuccessToast(
? t('toast.create_rental_success.body')
: t('toast.update_rental_success.body')}
</p>
<Button as={'a'} href={locations.nft(nft.contractAddress, nft.tokenId)}>
<Button as={Link} to={locations.nft(nft.contractAddress, nft.tokenId)}>
{t('toast.upsert_rental_success.show_listing')}
</Button>
</div>
Expand Down

0 comments on commit 299987d

Please sign in to comment.