diff --git a/app/[locale]/search/MemberSection.tsx b/app/[locale]/search/MemberSection.tsx index 1d5119f79..a33db3ec8 100644 --- a/app/[locale]/search/MemberSection.tsx +++ b/app/[locale]/search/MemberSection.tsx @@ -23,7 +23,7 @@ export default async function MemberSection({ keyword }: { keyword: string }) {
{professorList.length !== 0 && ( <> - +
{professorList.slice(0, 3).map((result) => { return ; @@ -34,7 +34,7 @@ export default async function MemberSection({ keyword }: { keyword: string }) { {professorList.length !== 0 && staffList.length !== 0 && } {staffList.length !== 0 && ( <> - +
{staffList.slice(0, 3).map((result) => { return ; diff --git a/app/[locale]/search/helper/CircleTitle.tsx b/app/[locale]/search/helper/CircleTitle.tsx index e17b62055..8ab9e5503 100644 --- a/app/[locale]/search/helper/CircleTitle.tsx +++ b/app/[locale]/search/helper/CircleTitle.tsx @@ -1,11 +1,12 @@ -export default function CircleTitle({ title, size }: { title: string; size: number }) { +export default function CircleTitle({ title, size }: { title: string; size?: number }) { // TODO: 번역 적용 // const t = useTranslations(); return (

- {title}({size}) + {title} + {size ? `(${size})` : ''}

);