Files
Messenger/web/src/main.tsx
benya 4fe89ce89a
Some checks failed
CI / test (push) Failing after 21s
feat(web): service-worker notifications and composer/scroll UX fixes
- 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
2026-03-08 11:33:58 +03:00

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>
);