From a67434c9d263738b8ac15f6b07285b06641d3c04 Mon Sep 17 00:00:00 2001 From: iamabin Date: Sat, 6 Apr 2024 06:41:13 +0530 Subject: [PATCH] solved payment list page not found problem --- client/src/config/baseUrl.ts | 1 - client/src/config/socket.ts | 1 + client/src/routes/AdminRoutes.tsx | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/config/baseUrl.ts b/client/src/config/baseUrl.ts index 845c0499..512ea6ef 100644 --- a/client/src/config/baseUrl.ts +++ b/client/src/config/baseUrl.ts @@ -1,4 +1,3 @@ - export const BASE_URL = "https://abinvarghese.online/api/v1" // export const BASE_URL = "https://devhive.dev/api/v1" \ No newline at end of file diff --git a/client/src/config/socket.ts b/client/src/config/socket.ts index 077d9126..91503941 100644 --- a/client/src/config/socket.ts +++ b/client/src/config/socket.ts @@ -1,6 +1,7 @@ import { io, Socket } from "socket.io-client"; + const socket: Socket = io("https://abinvarghese.online", { transports: ["websocket"], path: "/api/v1/chat/socket.io", diff --git a/client/src/routes/AdminRoutes.tsx b/client/src/routes/AdminRoutes.tsx index 27b82aeb..543fcdb0 100644 --- a/client/src/routes/AdminRoutes.tsx +++ b/client/src/routes/AdminRoutes.tsx @@ -36,7 +36,7 @@ const PremiumMembershipPage = lazy( ); const PaymentsListPage = lazy( - () => import("../pages/Error/NotFound") + () => import("../pages/payment/PaymentsListPage") ); const AdminDashBoard = lazy( @@ -167,7 +167,7 @@ function AdminRoutes() { path="/payments" element={ isAdminLoggedIn ? ( - + ) : ( )