From e1189e16da9402658a328252977e6e8ec7036a57 Mon Sep 17 00:00:00 2001 From: Jaco Date: Sat, 7 Jan 2023 14:51:31 +0200 Subject: [PATCH] Minor ScProvider adjustments (#8722) --- packages/react-api/src/light/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/react-api/src/light/index.ts b/packages/react-api/src/light/index.ts index 524bd47c9f..496088a914 100644 --- a/packages/react-api/src/light/index.ts +++ b/packages/react-api/src/light/index.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { ScProvider } from '@polkadot/api'; +import { WellKnownChain } from '@substrate/connect'; import { specs as kusama } from './kusama'; import { specs as polkadot } from './polkadot'; @@ -20,8 +20,8 @@ export const lightSpecs: Record> = }, {}); export const relaySpecs: Record = { - kusama: ScProvider.WellKnownChain.ksmcc3, - polkadot: ScProvider.WellKnownChain.polkadot, - rococo: ScProvider.WellKnownChain.rococo_v2_2, - westend: ScProvider.WellKnownChain.westend2 + kusama: WellKnownChain.ksmcc3, + polkadot: WellKnownChain.polkadot, + rococo: WellKnownChain.rococo_v2_2, + westend: WellKnownChain.westend2 };