mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-20 16:35:40 +00:00
Rebrand: Remove 3rd party chains, update domains to PezkuwiChain
- Remove all 3rd party parachain configurations from endpoints: - productionRelayPolkadot.ts: Keep only system parachains - productionRelayDicle.ts: Keep only system parachains - testingRelayZagros.ts: Keep only system parachains - testingRelayTeyrChain.ts: Keep only system parachains - Update domain references: - polkadot.js.org → pezkuwichain.app - wiki.polkadot.network → wiki.pezkuwichain.io - dotapps.io → pezkuwichain.app - statement.polkadot.network → docs.pezkuwichain.io/statement - support.polkadot.network → docs.pezkuwichain.io - Update repository references: - github.com/pezkuwi-js/apps → github.com/pezkuwichain/pwap - Rename system parachains to Pezkuwi ecosystem: - PolkadotAssetHub → PezkuwiAssetHub - polkadotBridgeHub → pezkuwiBridgeHub - polkadotCollectives → pezkuwiCollectives - polkadotCoretime → pezkuwiCoretime - polkadotPeople → pezkuwiPeople - Update network name in claims utility: - Polkadot → Pezkuwi
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/react-components authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { LinkOption } from '@pezkuwi/apps-config/endpoints/types';
|
||||
@@ -17,21 +17,21 @@ import RoboHash from './RoboHash/index.js';
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
forceIconType?: 'ethereum' | 'substrate';
|
||||
forceIconType?: 'ethereum' | 'bizinikiwi';
|
||||
prefix?: IdentityProps['prefix'];
|
||||
size?: number;
|
||||
theme?: IdentityProps['theme'] | 'robohash';
|
||||
value?: AccountId | AccountIndex | Address | string | Uint8Array | null;
|
||||
}
|
||||
|
||||
export function getIdentityTheme (apiEndpoint: LinkOption | null, systemName: string, specName: string): 'substrate' {
|
||||
export function getIdentityTheme (apiEndpoint: LinkOption | null, systemName: string, specName: string): 'bizinikiwi' {
|
||||
return (
|
||||
(settings.icon === 'default' && (
|
||||
apiEndpoint?.ui?.identityIcon ||
|
||||
getSystemIcon(systemName, specName)
|
||||
)) ||
|
||||
settings.icon
|
||||
) as 'substrate';
|
||||
) as 'bizinikiwi';
|
||||
}
|
||||
|
||||
function isCodec (value?: AccountId | AccountIndex | Address | string | Uint8Array | null): value is AccountId | AccountIndex | Address {
|
||||
@@ -68,7 +68,7 @@ function IdentityIcon ({ className = '', forceIconType, prefix, size = 24, theme
|
||||
onCopy={onCopy}
|
||||
prefix={prefix}
|
||||
size={size}
|
||||
theme={forceIconType || (isEthereum ? 'ethereum' : thisTheme as 'substrate')}
|
||||
theme={forceIconType || (isEthereum ? 'ethereum' : thisTheme as 'bizinikiwi')}
|
||||
value={isCodec(value) ? value.toString() : value}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user