mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-08-03 18:35:45 +00:00
60a800b33e
- Clone Polkadot.js Apps repository - Update package.json with Pezkuwi branding - Add Pezkuwi endpoint to production chains (wss://pezkuwichain.app:9944) - Create comprehensive README for SDK UI - Set up project structure with all packages Next steps: - Apply Kurdistan colors (Kesk, Sor, Zer, Spi + Black) to UI theme - Replace logos with Pezkuwi branding - Test build and deployment
32 lines
831 B
TypeScript
32 lines
831 B
TypeScript
// Copyright 2017-2025 @polkadot/app-settings authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
|
|
import { useApi } from '@polkadot/react-hooks';
|
|
|
|
import useChainInfo from '../useChainInfo.js';
|
|
import useRawMetadata from '../useRawMetadata.js';
|
|
import Extensions from './Extensions.js';
|
|
import NetworkSpecs from './NetworkSpecs.js';
|
|
import SystemVersion from './SystemVersion.js';
|
|
|
|
export default function Metadata (): React.ReactElement {
|
|
const { isDevelopment } = useApi();
|
|
const rawMetadata = useRawMetadata();
|
|
const chainInfo = useChainInfo();
|
|
|
|
return (
|
|
<>
|
|
{!isDevelopment && (
|
|
<Extensions
|
|
chainInfo={chainInfo}
|
|
rawMetadata={rawMetadata}
|
|
/>
|
|
)}
|
|
<NetworkSpecs chainInfo={chainInfo} />
|
|
<SystemVersion />
|
|
</>
|
|
);
|
|
}
|