From d493aceb2c4332b19c1dbcc15535aa8dd483beec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 10 Aug 2025 13:57:40 +0200 Subject: feat(producteur): better responsiveness --- src/component/MosaicBackground.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/component/MosaicBackground.astro') diff --git a/src/component/MosaicBackground.astro b/src/component/MosaicBackground.astro index 8c38bcf..4d110d2 100644 --- a/src/component/MosaicBackground.astro +++ b/src/component/MosaicBackground.astro @@ -30,7 +30,7 @@ const { height = "400" } = Astro.props; line.appendChild(current.cloneNode(true)); currentWidth += ratio * height; } else { - console.error("is NaN", current) + console.error("is NaN", current); } } } @@ -45,5 +45,5 @@ const { height = "400" } = Astro.props; } e.replaceChildren(...newChildren); }); - }) + }); -- cgit v1.2.3