From 140c1b15237f5482f1aa566ececc597462837a1a Mon Sep 17 00:00:00 2001 From: James Bartnik Date: Fri, 15 Dec 2023 12:29:02 -0800 Subject: [PATCH 01/32] Initial commit --- .../src/features/router/AppRoutes.tsx | 4 +- .../features/wallet/routes/ConnectWallet.tsx | 63 ---------- .../wallet/routes/SentryKeyRedemption.tsx | 117 ++++++++++++++++++ apps/web-connect/src/main.tsx | 6 +- 4 files changed, 124 insertions(+), 66 deletions(-) delete mode 100644 apps/web-connect/src/features/wallet/routes/ConnectWallet.tsx create mode 100644 apps/web-connect/src/features/wallet/routes/SentryKeyRedemption.tsx diff --git a/apps/web-connect/src/features/router/AppRoutes.tsx b/apps/web-connect/src/features/router/AppRoutes.tsx index 604b33875..4a5ce27f2 100644 --- a/apps/web-connect/src/features/router/AppRoutes.tsx +++ b/apps/web-connect/src/features/router/AppRoutes.tsx @@ -1,7 +1,6 @@ import {HashRouter as Router, Navigate, Route, Routes} from 'react-router-dom'; import {QueryClient, QueryClientProvider} from "react-query"; import {Checkout} from "../checkout"; -import {ConnectWallet} from "../wallet/routes/ConnectWallet.js"; import {AssignWallet} from "../wallet/routes/AssignWallet.js"; import {UnassignWallet} from "@/features/wallet/routes/UnassignWallet"; import {Header} from "@/features/header/Header"; @@ -9,6 +8,7 @@ import {useEffect, useState} from "react"; import axios from "axios"; import {BiLoaderAlt} from "react-icons/bi"; import {Footer} from "@/features/footer/Footer"; +import {SentryKeyRedemption} from "@/features/wallet/routes/SentryKeyRedemption"; enum IpBanType { INVALID_IP = "INVALID_IP", @@ -76,9 +76,9 @@ export function AppRoutes() {
}/> - }/> }/> }/> + }/> }/>