mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Use strict mode
This commit is contained in:
@@ -21,6 +21,11 @@ import "./utils/material";
|
|||||||
// import "./chat/dm";
|
// import "./chat/dm";
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
import App from './ui/App';
|
import App from './ui/App';
|
||||||
|
import { StrictMode } from 'react';
|
||||||
|
|
||||||
// Initialize React app
|
// Initialize React app
|
||||||
createRoot(document.getElementById("root")!).render(<App />);
|
createRoot(document.getElementById("root")!).render(
|
||||||
|
<StrictMode>
|
||||||
|
<App />
|
||||||
|
</StrictMode>
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user