summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-16 18:26:56 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-16 18:26:56 +0700
commitce3e4b16b3983e52a79dfc1dbaba528df4600de3 (patch)
tree9d1f962acb80827963fec828da81a0beb0c34deb
parentddeed1dcaab6d20df1c051c543c5b2924d708ecb (diff)
(andri) fix redirect
-rw-r--r--src/lib/brand/components/MediaCard.jsx2
1 files changed, 1 insertions, 1 deletions
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