Skip to content

Commit

Permalink
ISSUE 282 remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Peelman committed Dec 9, 2024
1 parent 4d8f7dd commit ba945e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hooks/internal/useFlowInternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {useSettingsContext} from "../../context/SettingsContext";
*/
export const useFlowInternal = () => {
// handles messages
const { replaceMessages, messages } = useMessagesInternal();
const { replaceMessages } = useMessagesInternal();

// handles paths
const { replacePaths } = usePathsInternal();
Expand All @@ -40,8 +40,6 @@ export const useFlowInternal = () => {

//reload the chat history from storage
setHistoryStorageValues(settings)
console.log("Flow restarted");
console.log("Messages", messages);
}, [replaceMessages, replaceToasts, replacePaths, setHistoryStorageValues]);

/**
Expand Down

0 comments on commit ba945e3

Please sign in to comment.