Skip to content

Commit

Permalink
🌐 Use localized route in nuxt-link
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Mar 9, 2023
1 parent 4b56f34 commit c55e06e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/FollowerDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
>
<NuxtLink
class="flex items-center text-like-green"
:to="{ name: 'id', params: { id: follower.wallet } }"
:to="localeLocation({ name: 'id', params: { id: follower.wallet } })"
target="_blank"
>
<Identity
Expand Down
4 changes: 2 additions & 2 deletions src/components/NFTPage/ChainDataSection/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
class="flex justify-center items-center mb-[24px]"
>
<NuxtLink
:to="{
:to="localeLocation({
name: 'nft-class-classId',
params: { classId },
hash: '#chain-data',
}"
})"
class="text-medium-gray underline text-[14px]"
>
{{ $t('nft_details_page_label_class_page') }}
Expand Down

0 comments on commit c55e06e

Please sign in to comment.