1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Do not use strict mode for view manager pages

This commit is contained in:
Bill Thornton 2024-10-19 01:48:25 -04:00
parent d330f93bae
commit 7abe0270b4
4 changed files with 75 additions and 68 deletions

View file

@ -1,7 +1,7 @@
// Import legacy browser polyfills
import 'lib/legacy';
import React, { StrictMode } from 'react';
import React from 'react';
import { createRoot } from 'react-dom/client';
// NOTE: We need to import this first to initialize the connection
@ -268,9 +268,7 @@ async function renderApp() {
const root = createRoot(container);
root.render(
<StrictMode>
<RootApp history={history} />
</StrictMode>
<RootApp history={history} />
);
}