testnet-onboarding-app/src/App.tsx

23 lines
679 B
TypeScript
Raw Normal View History

import React from "react";
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import ConnectWallet from "./pages/ConnectWallet";
import SignWithEthereum from "./pages/SignWithEthereum";
import SignWithCosmos from "./pages/SignWithCosmos";
import Success from "./pages/Success";
function App() {
return (
<Router>
<Routes>
<Route path="/" element={<ConnectWallet />} />
<Route path="/sign-with-ethereum" element={<SignWithEthereum />} />
<Route path="/sign-with-cosmos" element={<SignWithCosmos />} />
<Route path="/success" element={<Success />} />
</Routes>
</Router>
);
}
export default App;