From 2723984e0e115ffd01192e73c4d27ee91d8fda8e Mon Sep 17 00:00:00 2001 From: Roozbeh Karimi Date: Tue, 7 Oct 2025 16:46:47 -0400 Subject: [PATCH] hotfix --- frontend/src/views/map/page.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/map/page.jsx b/frontend/src/views/map/page.jsx index ce2e015..46eb192 100644 --- a/frontend/src/views/map/page.jsx +++ b/frontend/src/views/map/page.jsx @@ -21,7 +21,7 @@ if (typeof window !== "undefined") { const getCategoryIcon = (category, heading = 0, size = [25, 25]) => { console.log(category); - const iconUrl = `/icons/${category || "default"}.svg`; + const iconUrl = `/icons/${category?.toLowerCase() || "default"}.svg`; // Create a rotated divIcon wrapper for the image const html = `