From f643ba4fc8e02efe02fd60bc978c8b14a736af39 Mon Sep 17 00:00:00 2001 From: Sergej Date: Sat, 5 Oct 2024 11:48:44 +0200 Subject: [PATCH] lint --- src/chaindata/index.ts | 2 +- src/chaindata/paseo.ts | 1 + src/contexts/apis/CoretimeApi/index.tsx | 2 +- src/contexts/apis/RegionXApi/index.tsx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/chaindata/index.ts b/src/chaindata/index.ts index 65b25bb9..4e94495c 100644 --- a/src/chaindata/index.ts +++ b/src/chaindata/index.ts @@ -2,8 +2,8 @@ import { NetworkType } from '@/models'; import KusamaChains from './kusama'; import leases from './leases.json'; -import PolkadotChains from './polkadot'; import PaseoChains from './paseo'; +import PolkadotChains from './polkadot'; import RococoChains from './rococo'; import { BaseChainInfo, ChainDetails } from './types'; import WestendChains from './westend'; diff --git a/src/chaindata/paseo.ts b/src/chaindata/paseo.ts index 6a3a9ed4..6fba7b35 100644 --- a/src/chaindata/paseo.ts +++ b/src/chaindata/paseo.ts @@ -24,6 +24,7 @@ import { nodesRexSVG, nodesZeitgeistPNG, } from '@/assets/logos'; + import { ChainDetails } from './types'; const testParasPaseo: ChainDetails[] = [ diff --git a/src/contexts/apis/CoretimeApi/index.tsx b/src/contexts/apis/CoretimeApi/index.tsx index 72f0c983..53cd5419 100644 --- a/src/contexts/apis/CoretimeApi/index.tsx +++ b/src/contexts/apis/CoretimeApi/index.tsx @@ -77,7 +77,7 @@ const CoretimeApiContextProvider = (props: any) => { if (state.socket !== url) disconnect(state); try { - connect(state, url, dispatch, true); + connect(state, url, dispatch, true, types); } catch (_err) { /** empty error handler */ } diff --git a/src/contexts/apis/RegionXApi/index.tsx b/src/contexts/apis/RegionXApi/index.tsx index 3bca6e5b..cae9b51c 100644 --- a/src/contexts/apis/RegionXApi/index.tsx +++ b/src/contexts/apis/RegionXApi/index.tsx @@ -118,7 +118,7 @@ const RegionXApiContextProvider = (props: any) => { if (state.socket !== url) disconnect(state); try { - connect(state, url, dispatch, true); + connect(state, url, dispatch, true, types, customRpc); } catch (_err) { /** empty error handler */ }