import React from 'react';
import { createRoot } from 'react-dom/client';
import '../css/wpuf-ud.css';

// Import block registration
import './blocks';

// Import React app (if needed)
import App from './components/App';

// Initialize React app if container exists
const rootElement = document.getElementById('wpuf-ud-page');
if (rootElement) {
    const root = createRoot(rootElement);
    root.render(<App />);
}
