diff --git a/package.json b/package.json index a4fc015d3a..67e71fd6a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interbtc-ui", - "version": "2.41.20", + "version": "2.41.21", "private": true, "dependencies": { "@acala-network/sdk-core": "^4.1.5", diff --git a/public/index.html b/public/index.html index d84c06963d..e86757fc73 100644 --- a/public/index.html +++ b/public/index.html @@ -18,13 +18,6 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> -
diff --git a/src/index.tsx b/src/index.tsx index c10a8de3b7..22e1aaef3f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,58 +4,28 @@ import '@/component-library/theme/theme.interlay.css'; import '@/component-library/theme/theme.kintsugi.css'; import { configGlobalBig } from '@interlay/monetary-js'; -import { OverlayProvider } from '@react-aria/overlays'; -import * as React from 'react'; import ReactDOM from 'react-dom'; import { HelmetProvider } from 'react-helmet-async'; -import { QueryClient, QueryClientProvider } from 'react-query'; -import { ReactQueryDevtools } from 'react-query/devtools'; -import { Provider } from 'react-redux'; -import { BrowserRouter as Router } from 'react-router-dom'; -import { Subscriptions } from '@/hooks/api/tokens/use-balances-subscription'; import ThemeWrapper from '@/legacy-components/ThemeWrapper'; -import { SubstrateLoadingAndErrorHandlingWrapper, SubstrateProvider } from '@/lib/substrate'; -import App from './App'; -import { GeoblockingWrapper } from './components/Geoblock/Geoblock'; +import InterlayHelmet from './components/InterlayHelmet'; +import ServiceHalted from './pages/ServiceHalted'; import reportWebVitals from './reportWebVitals'; -import { store } from './store'; -import { NotificationsProvider } from './utils/context/Notifications'; configGlobalBig(); window.isFetchingActive = false; -const queryClient = new QueryClient(); - -// MEMO: temporarily removed React.StrictMode. We should add back when react-spectrum handles -// it across their library. (Issue: https://github.com/adobe/react-spectrum/issues/779#issuecomment-1353734729) +// MEMO: The apps are halted. All routes and chain connections are bypassed; only the +// branded Service Halted page is rendered. Restore the full provider/router tree to re-enable. ReactDOM.render( -+ The {APP_NAME} app is currently offline as coretime for the chain has not been extended. All funds on the + chain are locked until the chain is restarted. The chain can be restarted following the{' '} + + runbook + + . +
+