File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
ProgressNotificationSchema ,
14
14
ServerNotification ,
15
15
EmptyResultSchema ,
16
- CreateMessageRequest ,
17
16
CreateMessageResult ,
18
17
CreateMessageRequestSchema ,
19
18
} from "mcp-typescript/types.js" ;
@@ -355,9 +354,14 @@ const App = () => {
355
354
< Bell className = "w-4 h-4 mr-2" />
356
355
Ping
357
356
</ TabsTrigger >
358
- < TabsTrigger value = "sampling" >
357
+ < TabsTrigger value = "sampling" className = "relative" >
359
358
< Hash className = "w-4 h-4 mr-2" />
360
359
Sampling
360
+ { pendingSampleRequests . length > 0 && (
361
+ < span className = "absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-4 w-4 flex items-center justify-center" >
362
+ { pendingSampleRequests . length }
363
+ </ span >
364
+ ) }
361
365
</ TabsTrigger >
362
366
</ TabsList >
363
367
You can’t perform that action at this time.
0 commit comments