refactor: Use new serverspecifickey API
This commit is contained in:
parent
0dc6df57d6
commit
15960f5aa4
1 changed files with 4 additions and 3 deletions
|
|
@ -396,6 +396,7 @@ export function useConnection({
|
|||
|
||||
const disconnect = async () => {
|
||||
await mcpClient?.close();
|
||||
const authProvider = new InspectorOAuthClientProvider(sseUrl);
|
||||
authProvider.clear();
|
||||
setMcpClient(null);
|
||||
setConnectionStatus("disconnected");
|
||||
|
|
|
|||
Loading…
Reference in a new issue