diff options
Diffstat (limited to 'src/index.tsx')
| -rw-r--r-- | src/index.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.tsx b/src/index.tsx index a2c18e3..c1a4211 100644 --- a/src/index.tsx +++ b/src/index.tsx | |||
| @@ -3,7 +3,7 @@ import * as ReactDOM from "react-dom"; | |||
| 3 | import App from "~/components/App/App"; | 3 | import App from "~/components/App/App"; |
| 4 | 4 | ||
| 5 | import "~/index.scss"; | 5 | import "~/index.scss"; |
| 6 | import DarkModeProvider from "./contexts/DarkMode"; | 6 | import SettingsProvider from "./contexts/Settings"; |
| 7 | 7 | ||
| 8 | import dayjs from "dayjs"; | 8 | import dayjs from "dayjs"; |
| 9 | import localizedFormat from "dayjs/plugin/localizedFormat"; | 9 | import localizedFormat from "dayjs/plugin/localizedFormat"; |
| @@ -11,10 +11,10 @@ import ConnectionProvider from "~/contexts/Connection"; | |||
| 11 | dayjs.extend(localizedFormat); | 11 | dayjs.extend(localizedFormat); |
| 12 | 12 | ||
| 13 | ReactDOM.render( | 13 | ReactDOM.render( |
| 14 | <DarkModeProvider> | 14 | <SettingsProvider> |
| 15 | <ConnectionProvider> | 15 | <ConnectionProvider> |
| 16 | <App /> | 16 | <App /> |
| 17 | </ConnectionProvider> | 17 | </ConnectionProvider> |
| 18 | </DarkModeProvider>, | 18 | </SettingsProvider>, |
| 19 | document.getElementById("root") | 19 | document.getElementById("root") |
| 20 | ); | 20 | ); |
