🐛 Add debug console logs to troubleshoot deployment
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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