index-program 0.1.12

Virtual namespaces for indexing Solana accounts on-chain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
import { Switch, Route } from "react-router-dom";
import { HomeView } from "./views";

export const Routes = () => {
  return (
    <div className="w-screen h-screen">
      <Switch>
        <Route exact path="/" component={() => <HomeView />} />
      </Switch>
    </div>
  );
};