🐛 Add debug console logs to troubleshoot deployment

This commit is contained in:
dwindown
2025-09-21 15:09:17 +07:00
parent b8164d617e
commit 12d45590cd
2 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import StructuredEditor from '../components/StructuredEditor';
import MindmapView from '../components/MindmapView';
const ObjectEditor = () => {
console.log(' ObjectEditor component loaded successfully!');
const [structuredData, setStructuredData] = useState({});
const [showInput, setShowInput] = useState(false);
const [inputText, setInputText] = useState('');
@@ -241,7 +242,7 @@ const ObjectEditor = () => {
setInputValid(detection.valid);
if (detection.valid) {
console.log('🎯 SETTING STRUCTURED DATA:', detection.data);
console.log(' SETTING STRUCTURED DATA:', detection.data);
setStructuredData(detection.data);
setError('');
} else if (value.trim()) {