Re-enable React strict mode

This commit is contained in:
Robin
2025-10-08 16:39:27 -04:00
parent 427a8dd644
commit e346c8c148

View File

@@ -11,6 +11,7 @@ Please see LICENSE in the repository root for full details.
// dependency references.
import "matrix-js-sdk/lib/browser-index";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import { logger } from "matrix-js-sdk/lib/logger";
@@ -59,9 +60,9 @@ if (fatalError !== null) {
Initializer.initBeforeReact()
.then(() => {
root.render(
// <StrictMode>
<App vm={new AppViewModel()} />,
// </StrictMode>,
<StrictMode>
<App vm={new AppViewModel()} />,
</StrictMode>,
);
})
.catch((e) => {