diff --git a/explorer/src/lib/components/provisioners-list/ProvisionersList.svelte b/explorer/src/lib/components/provisioners-list/ProvisionersList.svelte index ec78f7a625..9c6d579a4d 100644 --- a/explorer/src/lib/components/provisioners-list/ProvisionersList.svelte +++ b/explorer/src/lib/components/provisioners-list/ProvisionersList.svelte @@ -36,10 +36,14 @@ return () => resizeObserver.disconnect(); }); - $: provisionerKey = middleEllipsis( - data.key, - calculateAdaptiveCharCount(screenWidth, 320, 1024, 4, 25) + $: adaptiveCharCount = calculateAdaptiveCharCount( + screenWidth, + 320, + 1024, + 4, + 25 ); + $: provisionerKey = middleEllipsis(data.key, adaptiveCharCount); @@ -59,7 +63,7 @@