diff --git a/app/dashboard/admin/users/page.tsx b/app/dashboard/admin/users/page.tsx index 24a6ad9..de75e47 100644 --- a/app/dashboard/admin/users/page.tsx +++ b/app/dashboard/admin/users/page.tsx @@ -5,7 +5,7 @@ export default async function BackOfficeUsersPage() { process.env.NEXT_PUBLIC_BASE_URL || process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "http://localhost:3000"; - const res = await fetch(`${baseUrl}/api/dashboard/admin/users`, { + const res = await fetch(`${baseUrl}ss/api/dashboard/admin/users`, { cache: "no-store", // 👈 disables caching for SSR freshness }); const users = await res.json(); diff --git a/app/dashboard/approve/page.tsx b/app/dashboard/approve/page.tsx index 7ed8b86..07d1a0c 100644 --- a/app/dashboard/approve/page.tsx +++ b/app/dashboard/approve/page.tsx @@ -3,6 +3,7 @@ import { Approve } from "@/app/features/pages/Approve/Approve"; + export default function ApprovePage() { return (
diff --git a/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx b/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx index b40cb60..d36e1ad 100644 --- a/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx +++ b/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx @@ -6,7 +6,7 @@ import { FetchReport } from "../../FetchReports/FetchReports"; import { Documentation } from "../../Documentation/Documentation"; import { AccountIQ } from "../../AccountIQ/AccountIQ"; import { WhatsNew } from "../../WhatsNew/WhatsNew"; -import { TransactionsOverView } from "../../TransactionsOverView/TransactionsOverview"; +import { TransactionsOverView } from "../../TransactionsOverview/TransactionsOverview"; export const DashboardHomePage = () => { return ( diff --git a/app/features/Pages/transactions/TransactionsTable.tsx b/app/features/Pages/transactions/TransactionsTable.tsx index 95bbc8e..e64b4cd 100644 --- a/app/features/Pages/transactions/TransactionsTable.tsx +++ b/app/features/Pages/transactions/TransactionsTable.tsx @@ -23,7 +23,6 @@ import SearchFilters from "@/app/components/searchFilter/SearchFilters"; import { exportData } from "@/app/utils/exportData"; import { ITransaction } from "./types"; - const paginationModel = { page: 0, pageSize: 50 }; interface IDepositProps { diff --git a/app/features/Pages/transactions/types.ts b/app/features/Pages/transactions/types.ts index 886eff4..7ef6a1f 100644 --- a/app/features/Pages/transactions/types.ts +++ b/app/features/Pages/transactions/types.ts @@ -25,8 +25,9 @@ interface IDepositTransactionsSearchLabels { options?: string[]; } + export interface ITransaction { filteredTransactions: IFilteredTransactions[]; transactionsColumns: IDepositTransactionsColumns[]; transactionsSearchLabels: IDepositTransactionsSearchLabels[]; -} +} \ No newline at end of file