From fb0b52820b7832435d1244ee80c759c2f40258b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asl=C4=B1=20G=C3=B6k?= Date: Mon, 16 Dec 2024 17:54:34 +0300 Subject: [PATCH] add comments on changed files --- frontend/src/components/SubtypeCard.tsx | 1 + frontend/src/components/TagType.tsx | 2 +- frontend/src/routes/index.tsx | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/SubtypeCard.tsx b/frontend/src/components/SubtypeCard.tsx index 92f0c08..f8ac9a3 100644 --- a/frontend/src/components/SubtypeCard.tsx +++ b/frontend/src/components/SubtypeCard.tsx @@ -3,6 +3,7 @@ import { ArrowRight, Tags } from "lucide-react"; import React from "react"; import { Link } from "react-router-dom"; +//new card component for tag types to display in glossary interface TagSubtypeCardProps { tagSubtype: { typeId: string; diff --git a/frontend/src/components/TagType.tsx b/frontend/src/components/TagType.tsx index 4272fcf..8caac1e 100644 --- a/frontend/src/components/TagType.tsx +++ b/frontend/src/components/TagType.tsx @@ -149,7 +149,7 @@ export default function SubtypePage() { {/* Render the description based on typeId */}
{description}
- {/* Tags in this Category Section */} + {/* Tags in this type */}

Tags in This Category:

diff --git a/frontend/src/routes/index.tsx b/frontend/src/routes/index.tsx index a89fddd..6db81ff 100644 --- a/frontend/src/routes/index.tsx +++ b/frontend/src/routes/index.tsx @@ -69,11 +69,11 @@ export const routes: RouteObject[] = [ Component: CreateTagPage, }, { - path: "/glossary", + path: "/glossary", //added glossary route Component: Glossary, }, { - path: "/tagtype/:typeId", + path: "/tagtype/:typeId", //added tagtype pages' routes Component: TagTypePage, }, ];