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,
|
|
|
|
SavedSqlFilesProvider,
|
|
|
|
} from './utility/globalState';
|
2020-01-04 18:22:57 +00:00
|
|
|
import { SocketProvider } from './utility/SocketProvider';
|
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-04-13 15:14:50 +00:00
|
|
|
<SavedSqlFilesProvider>
|
|
|
|
<Screen />
|
|
|
|
</SavedSqlFilesProvider>
|
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;
|