From 1a71938ce2035fb0746a429da4f551433a19fd02 Mon Sep 17 00:00:00 2001 From: ryanwolhuter Date: Fri, 13 Oct 2023 11:14:57 +0200 Subject: [PATCH] add tokens modal item types Signed-off-by: ryanwolhuter --- .../oSnap/components/TransactionBuilder/TokensModalItem.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/oSnap/components/TransactionBuilder/TokensModalItem.vue b/src/plugins/oSnap/components/TransactionBuilder/TokensModalItem.vue index f580cfc31..af3166ebd 100644 --- a/src/plugins/oSnap/components/TransactionBuilder/TokensModalItem.vue +++ b/src/plugins/oSnap/components/TransactionBuilder/TokensModalItem.vue @@ -9,10 +9,11 @@ const props = defineProps<{ network: string; }>(); -const emit = defineEmits(['select']); +const emit = defineEmits<{ + select: [token: Token]; +}>(); const { formatNumber, getNumberFormatter } = useIntl(); -const { copyToClipboard } = useCopy(); const exploreUrl = computed(() => { return explorerUrl(props.network, props.token.address); @@ -73,4 +74,3 @@ const exploreUrl = computed(() => { -../../types/types