import React from "react"; import { Link, Switch, Route, Redirect } from "react-router-dom"; import AccountsCard from "./components/AccountsCard"; import AccountDetails from "./components/AccountDetails"; import TransactionsCard from "./components/TransactionsCard"; import TransactionDetails from "./components/TransactionDetails"; import ClusterModal from "./components/ClusterModal"; import Logo from "./img/logos-solana/light-explorer-logo.svg"; import { TX_ALIASES } from "./providers/transactions"; import { ACCOUNT_ALIASES, ACCOUNT_ALIASES_PLURAL } from "./providers/accounts"; import TabbedPage from "components/TabbedPage"; import TopAccountsCard from "components/TopAccountsCard"; import SupplyCard from "components/SupplyCard"; import StatsCard from "components/StatsCard"; import { pickCluster } from "utils/url"; import Banner from "components/Banner"; function App() { return ( <>
( )} > [tx, tx + "s"]).map( (tx) => `/${tx}/:signature` )} render={({ match }) => ( )} /> `/${tx}s`)}> `/${account}/:address` )} render={({ match }) => ( )} /> "/" + alias)} >
); } export default App;