File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import { Text } from "@chakra-ui/react" ;
21import React from "react" ;
32import { isRouteErrorResponse , useRouteError } from "react-router-dom" ;
43import Layout from "./components/Layout/Layout" ;
@@ -15,7 +14,7 @@ export default function ErrorPage(): React.ReactNode {
1514 < p >
1615 < strong > { isRouteErrorResponse ( error ) && < > Error { error . status } </ > } </ strong >
1716 < i > { error . statusText || error . message } </ i >
18- < Text > { error . error ?. message } </ Text >
17+ { error . error ?. message }
1918 </ p >
2019 </ div >
2120 </ Layout >
Original file line number Diff line number Diff line change @@ -170,10 +170,10 @@ export class ImporterBot extends ITradingBot {
170170 }
171171 */
172172 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
173- protected async processSecurityInfoUnderlying ( element : any ) : Promise < Contract > | Promise < undefined > {
173+ protected async processSecurityInfoUnderlying ( element : any ) : Promise < Contract | undefined > {
174174 if ( element . underlyingConid ) {
175175 return this . findOrCreateContract ( ibUnderlyingContractFromElement ( element ) ) ;
176- } else return Promise . resolve ( undefined ) ;
176+ } else return Promise . resolve ( undefined as undefined ) ;
177177 }
178178
179179 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
You can’t perform that action at this time.
0 commit comments