From d1c821b3c37479b85c58e0a4b822028ad42db995 Mon Sep 17 00:00:00 2001 From: William Berglund Date: Wed, 28 Aug 2024 13:57:45 +0100 Subject: [PATCH] Update src/components/Points/PointImage.jsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Visée --- src/components/Points/PointImage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Points/PointImage.jsx b/src/components/Points/PointImage.jsx index 6fa5f845..1307ea69 100644 --- a/src/components/Points/PointImage.jsx +++ b/src/components/Points/PointImage.jsx @@ -15,7 +15,7 @@ function PointImage({ data, sx }) { return false; } if (url) { - return /\.(jpg|jpeg|png|webp|bmp|gif|ico|svg)$/.test(url.pathname); + return /\.(jpg|jpeg|png|webp|gif|svg)$/.test(url.pathname); } return false; }