Skip to content

Commit cbafb55

Browse files
Merge pull request #27 from developerfred/small-fix
2 parents f87c402 + 5b6473e commit cbafb55

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/lib/examples/NetworkDashboardExample.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-unused-vars */
12
import type { Network } from "../types/network";
23
import { ExampleFactory } from "./factory";
34

@@ -16,20 +17,6 @@ export class NetworkDashboardExample extends ExampleFactory {
1617
return `// Network Dashboard Component
1718
import React, { useState, useEffect } from 'react';
1819
19-
// Mock network info hook for preview
20-
const useNetworkInfo = () => {
21-
return {
22-
id: '${network.id}',
23-
name: '${network.name}',
24-
tokenSymbol: '${network.tokenSymbol}',
25-
tokenDecimals: ${network.tokenDecimals},
26-
isTest: ${network.isTest},
27-
endpoint: '${network.endpoint}',
28-
explorer: '${network.explorer}',
29-
faucet: '${network.faucet}'
30-
};
31-
};
32-
3320
export default function NetworkDashboard() {
3421
// Use React hooks for local state
3522
const [activeTab, setActiveTab] = useState('info');

0 commit comments

Comments
 (0)