From: riqo Date: Sat, 31 Oct 2020 22:10:39 +0000 (-0500) Subject: --amend X-Git-Tag: v0.9~143^2~1^2~1 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=8864952371fc575e44c3ea466aef7668881e23d9;p=mime-chat --amend --- diff --git a/src/composables/anims/useUIindexAnims.ts b/src/composables/anims/useUIindexAnims.ts index 437ed17..eea368f 100644 --- a/src/composables/anims/useUIindexAnims.ts +++ b/src/composables/anims/useUIindexAnims.ts @@ -22,10 +22,7 @@ export default function useUIindexAnims() { } }); - function getSVGElHeight(el: SVGGElement) { - const cardHeight = el.getBBox().height; - return cardHeight; - } + const getSVGElHeight = (el: SVGGElement) => el.getBBox().height; function calculateAllCardsHeight() { const cards = document.querySelectorAll(".test");