Remove debug console logs

This commit is contained in:
2024-10-05 10:18:59 +02:00
parent 3691a59666
commit 49c68e3f77
5 changed files with 7 additions and 19 deletions

View File

@@ -7,13 +7,6 @@ export const EditorContentProvider = ({ children }) => {
const { content, handleContentChange, handleSave, selectedFile } =
useFileManagementContext();
useEffect(() => {
console.log('EditorContentProvider: content or selectedFile updated', {
content,
selectedFile,
});
}, [content, selectedFile]);
return (
<EditorContentContext.Provider
value={{ content, handleContentChange, handleSave }}

View File

@@ -6,8 +6,6 @@ const FileSelectionContext = createContext();
export const FileSelectionProvider = ({ children }) => {
const { selectedFile, handleFileSelect } = useFileManagementContext();
console.log('FileSelectionProvider rendering', { selectedFile });
return (
<FileSelectionContext.Provider value={{ selectedFile, handleFileSelect }}>
{children}