0.3.21
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { useAvailability } from '../lib/availability';
|
||||
|
||||
export function ReconnectOverlay() {
|
||||
const { reconnecting, attempt } = useAvailability();
|
||||
if (!reconnecting) return null;
|
||||
|
||||
return (
|
||||
<div className="reconnect-overlay" role="status" aria-live="polite" aria-label="Server updating">
|
||||
<div className="reconnect-panel">
|
||||
<span className="reconnect-spinner" aria-hidden="true" />
|
||||
<h1>Server Updating...</h1>
|
||||
<p>The backend is restarting or temporarily unavailable. Your Admin UI will reconnect automatically.</p>
|
||||
<small>Attempting connection... Attempt {attempt}</small>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user