Skip to content

Commit

Permalink
solved payment list page not found problem
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-abin committed Apr 6, 2024
1 parent 737d357 commit a67434c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/src/config/baseUrl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export const BASE_URL = "https://abinvarghese.online/api/v1"

// export const BASE_URL = "https://devhive.dev/api/v1"
1 change: 1 addition & 0 deletions client/src/config/socket.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions client/src/routes/AdminRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const PremiumMembershipPage = lazy(
);

const PaymentsListPage = lazy(
() => import("../pages/Error/NotFound")
() => import("../pages/payment/PaymentsListPage")
);

const AdminDashBoard = lazy(
Expand Down Expand Up @@ -167,7 +167,7 @@ function AdminRoutes() {
path="/payments"
element={
isAdminLoggedIn ? (
<PaymentsListPage url={""} />
<PaymentsListPage />
) : (
<Navigate to="/admin" />
)
Expand Down

0 comments on commit a67434c

Please sign in to comment.