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:
parent
d330f93bae
commit
7abe0270b4
4 changed files with 75 additions and 68 deletions
|
@ -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} />
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue