mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-08-07 16:35:45 +00:00
Rebrand: polkadot → pezkuwi build fixes
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
This commit is contained in:
@@ -186,7 +186,7 @@ const NetworkPage: React.FC<NetworkPageProps> = ({
|
||||
<div className="bg-gray-950 rounded-lg p-4 border border-gray-800">
|
||||
<pre className="text-sm overflow-x-auto">
|
||||
<code className="text-gray-300">
|
||||
{`import { ApiPromise, WsProvider } from '@polkadot/api';
|
||||
{`import { ApiPromise, WsProvider } from '@pezkuwi/api';
|
||||
|
||||
const provider = new WsProvider('${endpoint}');
|
||||
const api = await ApiPromise.create({ provider });
|
||||
|
||||
Reference in New Issue
Block a user