diff --git a/app/(main)/courses/[id]/@reviews/page.tsx b/app/(main)/courses/[id]/@reviews/page.tsx index 80ca138..60d22b1 100644 --- a/app/(main)/courses/[id]/@reviews/page.tsx +++ b/app/(main)/courses/[id]/@reviews/page.tsx @@ -60,9 +60,9 @@ export default function Page({ params }: { params: { id: string } }) { const results = data ? data[0] : null; const items = data ? data.flatMap((d) => d.items) : []; return ( -
+
-
+

Filters

Limit

-
+

{results?.total_results ?? '-'} Review(s)

{isLoading || isValidating ? : null} {!isLoading && !isValidating diff --git a/app/(main)/courses/search/page.tsx b/app/(main)/courses/search/page.tsx index 5d50fc8..76919d0 100644 --- a/app/(main)/courses/search/page.tsx +++ b/app/(main)/courses/search/page.tsx @@ -35,9 +35,9 @@ export default async function Page({

Search results for "{searchParams.query}"

-
+
-
+

Filters

Limit

-
+

{total_results ?? '-'} Courses(s)

{items && total_results > 0 ? ( diff --git a/app/(main)/professors/[id]/@reviews/page.tsx b/app/(main)/professors/[id]/@reviews/page.tsx index 97a3c01..183f025 100644 --- a/app/(main)/professors/[id]/@reviews/page.tsx +++ b/app/(main)/professors/[id]/@reviews/page.tsx @@ -61,9 +61,9 @@ export default function Page({ params }: { params: { id: string } }) { const results = data ? data[0] : null; const items = data ? data.flatMap((d) => d.items) : []; return ( -
+
-
+

Filters

Limit

-
+

{results?.total_results ?? '-'} Review(s)

diff --git a/app/(main)/professors/search/page.tsx b/app/(main)/professors/search/page.tsx index 48a7109..cecd139 100644 --- a/app/(main)/professors/search/page.tsx +++ b/app/(main)/professors/search/page.tsx @@ -23,9 +23,9 @@ export default async function Page({

Search results for "{searchParams.query}"

-
+
-
+

Filters

Limit

-
+

{total_results ?? '-'} Professor(s)

{items && total_results > 0 ? (