update console logs

This commit is contained in:
Nate Kelley 2025-04-18 22:08:47 -06:00
parent c8bd71c5ea
commit a83e088f74
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
3 changed files with 0 additions and 14 deletions

View File

@ -46,14 +46,6 @@ export const useAutoChangeLayout = ({
const hasReasoning = !!reasoningMessagesLength; const hasReasoning = !!reasoningMessagesLength;
useEffect(() => { useEffect(() => {
console.log({
isCompletedStream,
hasReasoning,
chatId,
previousLastMessageId: previousLastMessageId.current,
lastMessageId,
previousIsCompletedStream
});
//this will trigger when the chat is streaming and is has not completed yet (new chat) //this will trigger when the chat is streaming and is has not completed yet (new chat)
if ( if (
!isCompletedStream && !isCompletedStream &&

View File

@ -33,8 +33,6 @@ export const useSelectedFile = ({
const onSetSelectedFile = useMemoizedFn(async (file: SelectedFile | null) => { const onSetSelectedFile = useMemoizedFn(async (file: SelectedFile | null) => {
const handleFileCollapse = shouldCloseSplitter(file, selectedFile, appSplitterRef); const handleFileCollapse = shouldCloseSplitter(file, selectedFile, appSplitterRef);
console.log('onSetSelectedFile', file, selectedFile);
if (file && chatParams.chatId) { if (file && chatParams.chatId) {
const link = assetParamsToRoute({ const link = assetParamsToRoute({
chatId: chatParams.chatId, chatId: chatParams.chatId,
@ -46,8 +44,6 @@ export const useSelectedFile = ({
if (link) onChangePage(link); if (link) onChangePage(link);
} }
console.log('handleFileCollapse', handleFileCollapse);
if (handleFileCollapse) { if (handleFileCollapse) {
animateOpenSplitter('left'); animateOpenSplitter('left');
return; return;

View File

@ -62,8 +62,6 @@ export const formatLabel = (
formattedText = String(replaceMissingDataWith); formattedText = String(replaceMissingDataWith);
} else formattedText = String('null'); } else formattedText = String('null');
} else if (style === 'date' && !useKeyFormatter) { } else if (style === 'date' && !useKeyFormatter) {
console.log(text, typeof text, columnType);
formattedText = formatLabelDate(text, { formattedText = formatLabelDate(text, {
dateFormat, dateFormat,
convertNumberTo, convertNumberTo,