diff --git a/src/app/error-page.tsx b/src/app/error-page.tsx
index 86fe8ca..224cc17 100644
--- a/src/app/error-page.tsx
+++ b/src/app/error-page.tsx
@@ -1,4 +1,3 @@
-import { Text } from "@chakra-ui/react";
import React from "react";
import { isRouteErrorResponse, useRouteError } from "react-router-dom";
import Layout from "./components/Layout/Layout";
@@ -15,7 +14,7 @@ export default function ErrorPage(): React.ReactNode {
{isRouteErrorResponse(error) && <>Error {error.status} >}
{error.statusText || error.message}
- {error.error?.message}
+ {error.error?.message}
diff --git a/src/bots/importer.bot.ts b/src/bots/importer.bot.ts
index cd2372a..a9b971f 100644
--- a/src/bots/importer.bot.ts
+++ b/src/bots/importer.bot.ts
@@ -170,10 +170,10 @@ export class ImporterBot extends ITradingBot {
}
*/
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
- protected async processSecurityInfoUnderlying(element: any): Promise | Promise {
+ protected async processSecurityInfoUnderlying(element: any): Promise {
if (element.underlyingConid) {
return this.findOrCreateContract(ibUnderlyingContractFromElement(element));
- } else return Promise.resolve(undefined);
+ } else return Promise.resolve(undefined as undefined);
}
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types