-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.tsx
47 lines (36 loc) · 1.24 KB
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright (c) 2024 Massachusetts Institute of Technology
// SPDX-License-Identifier: MIT
import { ApiKeyWarning } from 'components/ApiKeyWarning';
import { Chat } from 'components/Chat/Chat';
import { DemoModeModal } from 'components/DemoModeModal';
import { IDTableContainer } from 'components/IDTable/IDTable';
import { QueryEditor } from 'components/QueryEditor/QueryEditor'
import { QueryVisualization } from "components/QueryVisualization/QueryVisualization";
import { Results } from 'components/Results/Results';
import { MainChatAPIProvider } from 'hooks/useMainChatAPI';
import { RunQueryProvider } from 'hooks/useRunQuery';
import styles from 'App.module.scss'
function App() {
return (
<MainChatAPIProvider>
<RunQueryProvider>
<div id={styles["app"]}>
<div id={styles["sidebar"]}>
<Chat/>
</div>
<div id={styles["content"]}>
<QueryEditor/>
<IDTableContainer/>
<QueryVisualization/>
<div id={styles["results-content"]}>
<Results/>
</div>
</div>
</div>
<DemoModeModal/>
<ApiKeyWarning/>
</RunQueryProvider>
</MainChatAPIProvider>
)
}
export default App