File tree Expand file tree Collapse file tree
polymath-offchain/src/routes
components/ProvidersMaintenancePage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// @flow
22import React from 'react' ;
3- import { NotFoundPage , MaintenancePage } from '@polymathnetwork/ui' ;
3+ import {
4+ NotFoundPage ,
5+ MaintenancePage ,
6+ ProvidersMaintenancePage ,
7+ } from '@polymathnetwork/ui' ;
48import { Redirect } from 'react-router-dom' ;
59
610import App from './components/App' ;
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ export const applyHandler = async (ctx: Context) => {
258258 ) ;
259259 }
260260 } catch ( error ) {
261- console . error ( 'Sendgrid error:' , error ) ;
261+ console . error ( 'Sendgrid error:' , error , error . response . body . errors ) ;
262262 }
263263
264264 ctx . body = {
Original file line number Diff line number Diff line change 1+ // @flow
2+
3+ import React , { Component } from 'react' ;
4+
5+ import { bull } from '@polymathnetwork/ui' ;
6+
7+ export default class NotFoundPage extends Component < { } > {
8+ render ( ) {
9+ return (
10+ < div className = "pui-single-box" >
11+ < div className = "pui-single-box-header" >
12+ < div className = "pui-single-box-bull" >
13+ < img src = { bull } alt = "Bull" />
14+ </ div >
15+ < h1 className = "pui-h1" > Maintenance In Progress</ h1 >
16+ < h3 className = "pui-h3" >
17+ Providers page is temporarily unavailable as it undergoes
18+ maintenance.
19+ </ h3 >
20+ </ div >
21+ </ div >
22+ ) ;
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ import ProvidersMaintenancePage from './ProvidersMaintenancePage' ;
2+
3+ export default ProvidersMaintenancePage ;
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ export { default as MetamaskStatus } from './components/MetamaskStatus';
4848export { default as NotFoundPage } from './components/NotFoundPage' ;
4949export { default as NotSupportedPage } from './components/NotSupportedPage' ;
5050export { default as MaintenancePage } from './components/MaintenancePage' ;
51+ export {
52+ default as ProvidersMaintenancePage ,
53+ } from './components/ProvidersMaintenancePage' ;
5154export { default as SignUpPage } from './components/SignUpPage' ;
5255export { default as SignUpSuccessPage } from './components/SignUpSuccessPage' ;
5356export { default as SignInPage } from './components/SignInPage' ;
You can’t perform that action at this time.
0 commit comments