Skip to content

Commit 26f0cb3

Browse files
committed
merge conflict
1 parent 8f40e05 commit 26f0cb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ const App = () => {
505505
{mcpClient ? (
506506
<Tabs
507507
defaultValue={
508-
window.location.hash.slice(1) ||
508+
Object.keys(serverCapabilities ?? {}).includes(window.location.hash.slice(1)) ?
509+
window.location.hash.slice(1) :
509510
serverCapabilities?.resources ? "resources" :
510511
serverCapabilities?.prompts ? "prompts" :
511512
serverCapabilities?.tools ? "tools" :

0 commit comments

Comments
 (0)