diff --git a/components/landing-page/content-category.tsx b/components/landing-page/content-category.tsx index 1eea3a90..85d93584 100644 --- a/components/landing-page/content-category.tsx +++ b/components/landing-page/content-category.tsx @@ -33,7 +33,7 @@ const ContentCategory = (props: { group?: string; type: string }) => { ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` - : "/"; + : ""; useEffect(() => { initFetch(); diff --git a/components/landing-page/filter-all/document-filter-card.tsx b/components/landing-page/filter-all/document-filter-card.tsx index f56c0a66..25e95c97 100644 --- a/components/landing-page/filter-all/document-filter-card.tsx +++ b/components/landing-page/filter-all/document-filter-card.tsx @@ -214,7 +214,7 @@ export default function FilterDocumentComponent(props: { {newContent?.map((text: any) => ( { ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` - : "/"; + : ""; let menu = ""; diff --git a/components/landing-page/new-content.tsx b/components/landing-page/new-content.tsx index 11eb17eb..bbc0bbca 100644 --- a/components/landing-page/new-content.tsx +++ b/components/landing-page/new-content.tsx @@ -56,7 +56,7 @@ const NewContent = (props: { group: string; type: string }) => { ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` - : "/"; + : ""; useEffect(() => { const timer = setTimeout(() => {