diff --git a/packages/taikoon-ui/src/components/Collection/TaikoonDetail.svelte b/packages/taikoon-ui/src/components/Collection/TaikoonDetail.svelte index 64bd7fa4352..3df7f3ca0a9 100644 --- a/packages/taikoon-ui/src/components/Collection/TaikoonDetail.svelte +++ b/packages/taikoon-ui/src/components/Collection/TaikoonDetail.svelte @@ -9,6 +9,7 @@ import { Spinner } from '$ui/Spinner'; import Token from '../../lib/token'; + import type { IAddress } from '../../types'; import { NftRenderer } from '../NftRenderer'; import { chipWrapperClasses, detailClasses, detailContainerClasses, detailTitleClasses } from './classes'; @@ -16,10 +17,10 @@ export let taikoonId: number = -1; $: shortenedAddress = '...'; - + $: owner = '0x0' as IAddress; async function updateShortenedAddress() { if (taikoonId < 0) return; - const owner = await Token.ownerOf(taikoonId); + owner = await Token.ownerOf(taikoonId); shortenedAddress = await shortenAddress(owner); } @@ -52,10 +53,7 @@

- +
{/if}