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 };