mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-31 04:04:21 +01:00
fix: disable tool approve for old claude code version
This commit is contained in:
@@ -33,7 +33,11 @@ export const useNewChatMutation = (
|
||||
onSuccess: async (response) => {
|
||||
onSuccess?.();
|
||||
router.push(
|
||||
`/projects/${projectId}/sessions/${response.sessionId}#message-${response.userMessageId}`,
|
||||
`/projects/${projectId}/sessions/${response.sessionId}` +
|
||||
response.userMessageId !==
|
||||
undefined
|
||||
? `#message-${response.userMessageId}`
|
||||
: "",
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user