/**
 * Entry point: Licence settings tab.
 * Mounts <LicencePage> into #pdfib-licence-root.
 * The mount div sits inside the PHP <form>, so form inputs are
 * naturally submitted with the existing settings form flow.
 */
import React from 'react';
import { createRoot } from 'react-dom/client';
import LicencePage from '../react/components/admin/LicencePage';

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