/**
 * Entry point: Dashboard admin page.
 * Mounts <DashboardPage> into #pdfib-dashboard-root.
 */
import React from 'react';
import { createRoot } from 'react-dom/client';
import DashboardPage from '../react/components/admin/DashboardPage';

document.addEventListener('DOMContentLoaded', () => {
  const container = document.getElementById('pdfib-dashboard-root');
  if (!container) return;
  createRoot(container).render(<DashboardPage />);
});
