Skip to content

Commit 091c988

Browse files
committed
.
1 parent e2adfee commit 091c988

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/catalog/components/empty-state.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { IllustrationEmptyInbox } from "@/components/illustrations/illustration-
33
import { IllustrationNoSearchResults } from "@/components/illustrations/illustration-no-search-results";
44

55
interface EmptyStateProps {
6-
variant: "no-servers" | "no-results";
6+
variant: "no-items" | "no-matching-items";
77
title: string;
88
description: string;
99
actions?: ReactNode;
@@ -18,7 +18,7 @@ export function EmptyState({
1818
return (
1919
<div className="flex items-center justify-center py-20">
2020
<div className="flex flex-col items-center text-center gap-4 max-w-md">
21-
{variant === "no-results" ? (
21+
{variant === "no-matching-items" ? (
2222
<IllustrationNoSearchResults className="size-32" />
2323
) : (
2424
<IllustrationEmptyInbox className="size-32" />

src/app/catalog/components/servers.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function Servers({
5252
if (searchQuery) {
5353
return (
5454
<EmptyState
55-
variant="no-results"
55+
variant="no-matching-items"
5656
title="No results found"
5757
description={`We couldn't find any servers matching "${searchQuery}". Try adjusting your search.`}
5858
actions={
@@ -65,7 +65,7 @@ export function Servers({
6565
}
6666
return (
6767
<EmptyState
68-
variant="no-servers"
68+
variant="no-items"
6969
title="No servers available"
7070
description="There are no MCP servers in the catalog yet. Check back later."
7171
/>

0 commit comments

Comments
 (0)