// App.jsx — ROOT COMPONENT class ErrorBoundary extends React.Component { constructor(props) { super(props); this.state = { hasError: false, error: null }; } static getDerivedStateFromError(error) { return { hasError: true, error }; } componentDidCatch(error, info) { console.error("Broadside render error:", error, info); } render() { if (this.state.hasError) { const { T } = window.UI; return (