🐛 Add debug console logs to troubleshoot deployment
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user