import React from 'react'; import { createRoot } from 'react-dom/client'; import App from './App'; console.log("[Boot] Initializing FarmOps scripts..."); // --- GLOBAL ERROR CATCHER --- const reportCriticalError = (error: any) => { console.error("[Boot] Critical Error Caught:", error); const rootElement = document.getElementById('root'); if (rootElement) { rootElement.innerHTML = `
A script or storage error prevented FarmOps from starting on this machine.
If this persists, your browser storage may be full or third-party CDNs are being blocked.