File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable @typescript-eslint/no-unused-vars */
12import type { Network } from "../types/network" ;
23import { ExampleFactory } from "./factory" ;
34
@@ -16,20 +17,6 @@ export class NetworkDashboardExample extends ExampleFactory {
1617 return `// Network Dashboard Component
1718import 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-
3320export default function NetworkDashboard() {
3421 // Use React hooks for local state
3522 const [activeTab, setActiveTab] = useState('info');
You can’t perform that action at this time.
0 commit comments