datajunction-ui 0.0.1-rc.20 → 0.0.1-rc.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/app/index.tsx
CHANGED
|
@@ -16,7 +16,7 @@ import { LoginPage } from './pages/LoginPage';
|
|
|
16
16
|
import { RegisterTablePage } from './pages/RegisterTablePage';
|
|
17
17
|
import { Root } from './pages/Root/Loadable';
|
|
18
18
|
import DJClientContext from './providers/djclient';
|
|
19
|
-
import { DataJunctionAPI } from './services/DJService';
|
|
19
|
+
import { DataJunctionAPI, DJ_URL } from './services/DJService';
|
|
20
20
|
import { CookiesProvider, useCookies } from 'react-cookie';
|
|
21
21
|
import * as Constants from './constants';
|
|
22
22
|
|
|
@@ -36,7 +36,7 @@ export function App() {
|
|
|
36
36
|
content="DataJunction serves as a semantic layer to help manage metrics"
|
|
37
37
|
/>
|
|
38
38
|
</Helmet>
|
|
39
|
-
<DJClientContext.Provider value={{ DataJunctionAPI }}>
|
|
39
|
+
<DJClientContext.Provider value={{ DataJunctionAPI, DJ_URL }}>
|
|
40
40
|
<Routes>
|
|
41
41
|
<Route
|
|
42
42
|
path="/"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataJunctionAPI } from '../services/DJService';
|
|
1
|
+
import { DataJunctionAPI, DJ_URL } from '../services/DJService';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
const DJClientContext = React.createContext({ DataJunctionAPI });
|
|
4
|
+
const DJClientContext = React.createContext({ DataJunctionAPI, DJ_URL });
|
|
5
5
|
export default DJClientContext;
|