🐛 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

@@ -3,6 +3,7 @@ import { Search, Code, Link2, FileText, Hash, RefreshCw, GitCompare, Type, Edit3
import ToolCard from '../components/ToolCard';
const Home = () => {
console.log('🏠 NEW Home component loaded - Object Editor should be visible!');
const [searchTerm, setSearchTerm] = useState('');
const tools = [

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()) {