🐛 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';
|
import ToolCard from '../components/ToolCard';
|
||||||
|
|
||||||
const Home = () => {
|
const Home = () => {
|
||||||
|
console.log('🏠 NEW Home component loaded - Object Editor should be visible!');
|
||||||
const [searchTerm, setSearchTerm] = useState('');
|
const [searchTerm, setSearchTerm] = useState('');
|
||||||
|
|
||||||
const tools = [
|
const tools = [
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import StructuredEditor from '../components/StructuredEditor';
|
|||||||
import MindmapView from '../components/MindmapView';
|
import MindmapView from '../components/MindmapView';
|
||||||
|
|
||||||
const ObjectEditor = () => {
|
const ObjectEditor = () => {
|
||||||
|
console.log(' ObjectEditor component loaded successfully!');
|
||||||
const [structuredData, setStructuredData] = useState({});
|
const [structuredData, setStructuredData] = useState({});
|
||||||
const [showInput, setShowInput] = useState(false);
|
const [showInput, setShowInput] = useState(false);
|
||||||
const [inputText, setInputText] = useState('');
|
const [inputText, setInputText] = useState('');
|
||||||
@@ -241,7 +242,7 @@ const ObjectEditor = () => {
|
|||||||
setInputValid(detection.valid);
|
setInputValid(detection.valid);
|
||||||
|
|
||||||
if (detection.valid) {
|
if (detection.valid) {
|
||||||
console.log('🎯 SETTING STRUCTURED DATA:', detection.data);
|
console.log(' SETTING STRUCTURED DATA:', detection.data);
|
||||||
setStructuredData(detection.data);
|
setStructuredData(detection.data);
|
||||||
setError('');
|
setError('');
|
||||||
} else if (value.trim()) {
|
} else if (value.trim()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user