From ce3e4b16b3983e52a79dfc1dbaba528df4600de3 Mon Sep 17 00:00:00 2001
From: FIN-IT_AndriFP <it@fixcomart.co.id>
Date: Thu, 16 Oct 2025 18:26:56 +0700
Subject: (andri) fix redirect

---
 src/lib/brand/components/MediaCard.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/brand/components/MediaCard.jsx')

diff --git a/src/lib/brand/components/MediaCard.jsx b/src/lib/brand/components/MediaCard.jsx
index a6591abd..8bb88b92 100644
--- a/src/lib/brand/components/MediaCard.jsx
+++ b/src/lib/brand/components/MediaCard.jsx
@@ -10,7 +10,7 @@ const MediaCard = ({ media }) => {
 
   return (
     <Link
-      href={createSlug('/shop/media/', media.name, media.id)}
+      href={createSlug(media.url || '#')}
       className={`
         py-1 px-2 border-gray_r-6 flex justify-center items-center
         hover:scale-110 transition duration-500 ease-in-out
-- 
cgit v1.2.3

