We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f40e05 commit 26f0cb3Copy full SHA for 26f0cb3
client/src/App.tsx
@@ -505,7 +505,8 @@ const App = () => {
505
{mcpClient ? (
506
<Tabs
507
defaultValue={
508
- window.location.hash.slice(1) ||
+ Object.keys(serverCapabilities ?? {}).includes(window.location.hash.slice(1)) ?
509
+ window.location.hash.slice(1) :
510
serverCapabilities?.resources ? "resources" :
511
serverCapabilities?.prompts ? "prompts" :
512
serverCapabilities?.tools ? "tools" :
0 commit comments