import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './app/globals.css';
import './lib/supabase'; // Initialize Supabase on load (optional, but good for consistency)
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
try {
const root = ReactDOM.createRoot(rootElement);
root.render(
The application failed to initialize. This may be due to a script loading error.