File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const PreferenceRedirect = () => {
24
24
const { user } = useCurrentUser ( )
25
25
const { courseId } = useParams ( )
26
26
const chatVersion = user ?. preferences ?. chatVersion ?? 1
27
- return < Navigate to = { chatVersion === 1 ? '/v1' : '/v2' + ( courseId ? `/${ courseId } ` : '' ) } replace />
27
+ return < Navigate to = { ( chatVersion === 1 ? '/v1' : '/v2' ) + ( courseId ? `/${ courseId } ` : '' ) } replace />
28
28
}
29
29
30
30
const router = sentryCreateBrowserRouter (
Original file line number Diff line number Diff line change @@ -313,8 +313,6 @@ const Chat = () => {
313
313
saveConsent,
314
314
}
315
315
316
- console . log ( 'getCompletionsArgs' , getCompletionsArgs )
317
-
318
316
// Retry the request if the server is stuck for WAIT_FOR_STREAM_TIMEOUT seconds
319
317
setRetryTimeout ( ( ) => handleRetry ( getCompletionsArgs , abortController ) , WAIT_FOR_STREAM_TIMEOUT )
320
318
You can’t perform that action at this time.
0 commit comments