import React from 'react'; import { DATA_SOURCES } from './config'; import { Header } from './components/header'; import { StatsManager } from '@vegaprotocol/network-stats'; import { ThemeContext } from '@vegaprotocol/react-helpers'; import { useThemeSwitcher } from '@vegaprotocol/react-helpers'; const envName = DATA_SOURCES.envName; const restEndpoint = DATA_SOURCES.restEndpoint; const statsEndpoint = `${restEndpoint}/statistics`; const nodesEndpoint = `${restEndpoint}/nodes-data`; function App() { const [theme, toggleTheme] = useThemeSwitcher(); return (
); } export default App;