|
|
@@ -1,6 +1,5 @@
|
|
|
import React, { createContext, useContext } from 'react'
|
|
|
import PropTypes from 'prop-types'
|
|
|
-import ExposedSettings from '../../main/exposed-settings'
|
|
|
|
|
|
export const ApplicationContext = createContext()
|
|
|
|
|
|
@@ -22,7 +21,7 @@ ApplicationContext.Provider.propTypes = {
|
|
|
export function ApplicationProvider({ children }) {
|
|
|
const applicationContextValue = {
|
|
|
user: window.user,
|
|
|
- exposedSettings: ExposedSettings,
|
|
|
+ exposedSettings: window.ExposedSettings,
|
|
|
gitBridgePublicBaseUrl: window.gitBridgePublicBaseUrl,
|
|
|
}
|
|
|
return (
|