mirror of https://github.com/buster-so/buster.git
update console logs
This commit is contained in:
parent
c8bd71c5ea
commit
a83e088f74
|
@ -46,14 +46,6 @@ export const useAutoChangeLayout = ({
|
|||
const hasReasoning = !!reasoningMessagesLength;
|
||||
|
||||
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)
|
||||
if (
|
||||
!isCompletedStream &&
|
||||
|
|
|
@ -33,8 +33,6 @@ export const useSelectedFile = ({
|
|||
const onSetSelectedFile = useMemoizedFn(async (file: SelectedFile | null) => {
|
||||
const handleFileCollapse = shouldCloseSplitter(file, selectedFile, appSplitterRef);
|
||||
|
||||
console.log('onSetSelectedFile', file, selectedFile);
|
||||
|
||||
if (file && chatParams.chatId) {
|
||||
const link = assetParamsToRoute({
|
||||
chatId: chatParams.chatId,
|
||||
|
@ -46,8 +44,6 @@ export const useSelectedFile = ({
|
|||
if (link) onChangePage(link);
|
||||
}
|
||||
|
||||
console.log('handleFileCollapse', handleFileCollapse);
|
||||
|
||||
if (handleFileCollapse) {
|
||||
animateOpenSplitter('left');
|
||||
return;
|
||||
|
|
|
@ -62,8 +62,6 @@ export const formatLabel = (
|
|||
formattedText = String(replaceMissingDataWith);
|
||||
} else formattedText = String('null');
|
||||
} else if (style === 'date' && !useKeyFormatter) {
|
||||
console.log(text, typeof text, columnType);
|
||||
|
||||
formattedText = formatLabelDate(text, {
|
||||
dateFormat,
|
||||
convertNumberTo,
|
||||
|
|
Loading…
Reference in New Issue