From d647025a4244c05392667986666fa21e5313cfff Mon Sep 17 00:00:00 2001 From: Sabda Yagra Date: Thu, 25 Sep 2025 15:33:49 +0700 Subject: [PATCH] fix: fixing link href in content card filter --- components/form/communication/escalation-detail-form.tsx | 1 - components/landing-page/filter-all/audio-filter-card.tsx | 5 ++++- components/landing-page/filter-all/document-filter-card.tsx | 5 ++++- components/landing-page/filter-all/image-filter-card.tsx | 5 ++++- components/landing-page/filter-all/video-filter-card.tsx | 5 ++++- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/components/form/communication/escalation-detail-form.tsx b/components/form/communication/escalation-detail-form.tsx index 229001a5..6fb5c5e2 100644 --- a/components/form/communication/escalation-detail-form.tsx +++ b/components/form/communication/escalation-detail-form.tsx @@ -1,5 +1,4 @@ "use client"; -"use client"; import React, { useEffect, useState } from "react"; import { useForm, Controller } from "react-hook-form"; import { Input } from "@/components/ui/input"; diff --git a/components/landing-page/filter-all/audio-filter-card.tsx b/components/landing-page/filter-all/audio-filter-card.tsx index 5a641788..c143f6d1 100644 --- a/components/landing-page/filter-all/audio-filter-card.tsx +++ b/components/landing-page/filter-all/audio-filter-card.tsx @@ -243,7 +243,10 @@ export default function FilterAudioComponent(props: { {newContent?.map((audio: any) => ( // router.push(prefixPath + `/audio/detail/${audio?.slug}`) diff --git a/components/landing-page/filter-all/document-filter-card.tsx b/components/landing-page/filter-all/document-filter-card.tsx index aa8bc82d..f56c0a66 100644 --- a/components/landing-page/filter-all/document-filter-card.tsx +++ b/components/landing-page/filter-all/document-filter-card.tsx @@ -214,7 +214,10 @@ export default function FilterDocumentComponent(props: { {newContent?.map((text: any) => ( // router.push(prefixPath + `/document/detail/${text?.slug}`) diff --git a/components/landing-page/filter-all/image-filter-card.tsx b/components/landing-page/filter-all/image-filter-card.tsx index d68c47f4..3e950a90 100644 --- a/components/landing-page/filter-all/image-filter-card.tsx +++ b/components/landing-page/filter-all/image-filter-card.tsx @@ -200,7 +200,10 @@ export default function FilterImageComponent(props: { {newContent?.map((image: any) => ( // router.push(prefixPath + `/image/detail/${image?.slug}`) // } diff --git a/components/landing-page/filter-all/video-filter-card.tsx b/components/landing-page/filter-all/video-filter-card.tsx index d689f66e..26acff0f 100644 --- a/components/landing-page/filter-all/video-filter-card.tsx +++ b/components/landing-page/filter-all/video-filter-card.tsx @@ -161,7 +161,10 @@ export default function FilterVideoComponent(props: { {newContent?.map((video: any) => ( // router.push(prefixPath + `/video/detail/${video?.slug}`)