import { lazy, Suspense } from "react" import { HashRouter, Routes, Route, Navigate } from "react-router-dom" import { Layout, Sidebar, Header } from "../components" import { UnstableProviderProvider, MetadataProviderProvider } from "../hooks" import { DEFAULT_CHAIN_ID } from "../settings" const HealthCheck = lazy(() => import("./HealthCheck").then(module => ({ default: module.HealthCheck }))) const Transactions = lazy(() => import("./Transactions").then(module => ({ default: module.Transactions }))) const Nominations = lazy(() => import("./Nominations").then(module => ({ default: module.Nominations }))) const AddressBook = lazy(() => import("./AddressBook").then(module => ({ default: module.AddressBook }))) export const App = () => { return ( }>
} /> } /> } /> } /> } />
) }