File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/app/catalog/components Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { IllustrationEmptyInbox } from "@/components/illustrations/illustration-
33import { IllustrationNoSearchResults } from "@/components/illustrations/illustration-no-search-results" ;
44
55interface 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" />
Original file line number Diff line number Diff 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 />
You can’t perform that action at this time.
0 commit comments