// Safety shim for browser extensions attempting to assign to window.fetch try { const origFetch = window.fetch; let currentFetch = origFetch; Object.defineProperty(window, 'fetch', { get: () => currentFetch, set: (fn) => { currentFetch = fn; }, configurable: true, enumerable: true, }); } catch (_) {} import { createRoot } from 'react-dom/client'; import App from './App.tsx'; import './index.css'; createRoot(document.getElementById('root')!).render();