File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,13 +114,19 @@ export function ToolSection({
114114 </ Button >
115115 </ header >
116116
117- < ul className = "grid gap-4" >
118- { tools . map ( ( tool ) => (
119- < li key = { tool . id } >
120- < ToolCard tool = { tool } onEdit = { ( ) => setEditingTool ( tool ) } />
121- </ li >
122- ) ) }
123- </ ul >
117+ { tools . length === 0 ? (
118+ < p className = "text-center text-muted-foreground" >
119+ Add a tool to get started
120+ </ p >
121+ ) : (
122+ < ul className = "grid gap-4" >
123+ { tools . map ( ( tool ) => (
124+ < li key = { tool . id } >
125+ < ToolCard tool = { tool } onEdit = { ( ) => setEditingTool ( tool ) } />
126+ </ li >
127+ ) ) }
128+ </ ul >
129+ ) }
124130 </ section >
125131 )
126132}
@@ -691,6 +697,7 @@ export function DeleteServerSection({
691697 </ Button >
692698 </ AlertDialogTrigger >
693699 < AlertDialogContent >
700+ Tools
694701 < AlertDialogHeader >
695702 < AlertDialogTitle > Confirm Server Deletion</ AlertDialogTitle >
696703 < AlertDialogDescription className = "space-y-2" >
You can’t perform that action at this time.
0 commit comments