mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-07 02:09:38 +00:00
Update all frontend libraries
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { camelizeKeys, decamelizeKeys } from "humps";
|
||||
import AuthStore from "modules/AuthStore";
|
||||
import * as queryString from "query-string";
|
||||
import queryString from "query-string";
|
||||
|
||||
const contentTypeHeader = "Content-Type";
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
import { ColorModeScript } from "@chakra-ui/react";
|
||||
import ReactDOM from "react-dom";
|
||||
import ReactDOM from "react-dom/client";
|
||||
|
||||
import App from "./App";
|
||||
import "./index.scss";
|
||||
@ -19,10 +19,12 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
ReactDOM.render(
|
||||
<>
|
||||
const root = ReactDOM.createRoot(
|
||||
document.getElementById("root") as HTMLElement,
|
||||
);
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
<ColorModeScript initialColorMode={customTheme.config.initialColorMode} />
|
||||
<App />
|
||||
</>,
|
||||
document.getElementById("root"),
|
||||
</React.StrictMode>,
|
||||
);
|
||||
|
Reference in New Issue
Block a user