2020-01-04 18:22:57 +00:00
|
|
|
import React from 'react';
|
|
|
|
import './index.css';
|
|
|
|
import Screen from './Screen';
|
2020-04-13 15:14:50 +00:00
|
|
|
import {
|
|
|
|
CurrentWidgetProvider,
|
|
|
|
CurrentDatabaseProvider,
|
|
|
|
OpenedTabsProvider,
|
2020-05-01 09:41:18 +00:00
|
|
|
OpenedConnectionsProvider,
|
2020-05-10 15:39:49 +00:00
|
|
|
LeftPanelWidthProvider,
|
2020-10-17 15:59:36 +00:00
|
|
|
CurrentArchiveProvider,
|
2020-11-10 20:21:22 +00:00
|
|
|
CurrentThemeProvider,
|
2020-04-13 15:14:50 +00:00
|
|
|
} from './utility/globalState';
|
2020-01-04 18:22:57 +00:00
|
|
|
import { SocketProvider } from './utility/SocketProvider';
|
2020-05-01 15:38:25 +00:00
|
|
|
import ConnectionsPinger from './utility/ConnectionsPinger';
|
2020-06-04 18:40:24 +00:00
|
|
|
import { ModalLayerProvider } from './modals/showModal';
|
2020-11-07 20:52:35 +00:00
|
|
|
import UploadsProvider from './utility/UploadsProvider';
|
2020-11-09 18:33:46 +00:00
|
|
|
import ThemeHelmet from './themes/ThemeHelmet';
|
2020-11-21 09:01:19 +00:00
|
|
|
import PluginsProvider from './plugins/PluginsProvider';
|
2020-11-21 19:20:47 +00:00
|
|
|
import { ExtensionsProvider } from './utility/useExtensions';
|
2020-12-03 08:33:29 +00:00
|
|
|
import { MenuLayerProvider } from './modals/showMenu';
|
2019-12-24 16:48:25 +00:00
|
|
|
|
|
|
|
function App() {
|
2019-12-30 19:49:12 +00:00
|
|
|
return (
|
|
|
|
<CurrentWidgetProvider>
|
2020-01-05 18:55:04 +00:00
|
|
|
<CurrentDatabaseProvider>
|
|
|
|
<SocketProvider>
|
2020-01-22 19:34:13 +00:00
|
|
|
<OpenedTabsProvider>
|
2020-12-02 19:02:58 +00:00
|
|
|
<OpenedConnectionsProvider>
|
|
|
|
<LeftPanelWidthProvider>
|
|
|
|
<ConnectionsPinger>
|
|
|
|
<PluginsProvider>
|
|
|
|
<ExtensionsProvider>
|
2020-12-03 07:50:57 +00:00
|
|
|
<CurrentArchiveProvider>
|
|
|
|
<CurrentThemeProvider>
|
|
|
|
<UploadsProvider>
|
|
|
|
<ModalLayerProvider>
|
2020-12-03 08:33:29 +00:00
|
|
|
<MenuLayerProvider>
|
|
|
|
<ThemeHelmet />
|
|
|
|
<Screen />
|
|
|
|
</MenuLayerProvider>
|
2020-12-03 07:50:57 +00:00
|
|
|
</ModalLayerProvider>
|
|
|
|
</UploadsProvider>
|
|
|
|
</CurrentThemeProvider>
|
|
|
|
</CurrentArchiveProvider>
|
2020-12-02 19:02:58 +00:00
|
|
|
</ExtensionsProvider>
|
|
|
|
</PluginsProvider>
|
|
|
|
</ConnectionsPinger>
|
|
|
|
</LeftPanelWidthProvider>
|
|
|
|
</OpenedConnectionsProvider>
|
2020-01-22 19:34:13 +00:00
|
|
|
</OpenedTabsProvider>
|
2020-01-05 18:55:04 +00:00
|
|
|
</SocketProvider>
|
|
|
|
</CurrentDatabaseProvider>
|
2019-12-30 19:49:12 +00:00
|
|
|
</CurrentWidgetProvider>
|
|
|
|
);
|
2019-12-24 16:48:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|