Some checks failed
CI / test (push) Failing after 21s
- register notifications service worker and handle click-to-open chat/message - route realtime notifications through service worker with fallback - support ?chat=&message= deep-link navigation in chats page - enforce 1s minimum voice message length - lift scroll-to-bottom button to avoid overlap with composer action
17 lines
480 B
TypeScript
17 lines
480 B
TypeScript
import React from "react";
|
|
import ReactDOM from "react-dom/client";
|
|
import { App } from "./app/App";
|
|
import { AppErrorBoundary } from "./components/AppErrorBoundary";
|
|
import { registerNotificationServiceWorker } from "./utils/webNotifications";
|
|
import "./index.css";
|
|
|
|
void registerNotificationServiceWorker();
|
|
|
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
|
<React.StrictMode>
|
|
<AppErrorBoundary>
|
|
<App />
|
|
</AppErrorBoundary>
|
|
</React.StrictMode>
|
|
);
|