Skip to content

Commit

Permalink
fix: $t instead of t for translations
Browse files Browse the repository at this point in the history
  • Loading branch information
guru-web3 committed Sep 22, 2023
1 parent 78eafb5 commit 70f69b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/burnNFT/BurnNFT.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { ref } from "vue";
import FallbackNft from "@/assets/fallback-nft.svg";
import { Button } from "@/components/common";
import ControllerModule from "@/modules/controllers";
import { i18n } from "@/plugins/i18nPlugin";
import { getImgProxyUrl, setFallbackImg } from "@/utils/helpers";
import NetworkDisplay from "../common/NetworkDisplay.vue";
Expand All @@ -29,8 +28,6 @@ const props = withDefaults(
}
);
const { t } = i18n.global;
const emits = defineEmits(["transferConfirm", "transferReject", "onCloseModal"]);
const closeModal = () => {
Expand Down Expand Up @@ -88,7 +85,7 @@ const refDiv = ref(null);
</div>
<div class="flex flex-row items-center my-6 mx-3">
<Button class="flex-auto mx-2 w-1/2" :block="true" variant="tertiary" @click="onCancel">
{{ t("walletTransfer.cancel") }}
{{ $t("walletTransfer.cancel") }}
</Button>
<button
type="button"
Expand Down

0 comments on commit 70f69b2

Please sign in to comment.