solving filnames issue
This commit is contained in:
parent
b2b18a5cd7
commit
9e72c2b0a5
@ -5,7 +5,7 @@ export default async function BackOfficeUsersPage() {
|
|||||||
process.env.NEXT_PUBLIC_BASE_URL || process.env.VERCEL_URL
|
process.env.NEXT_PUBLIC_BASE_URL || process.env.VERCEL_URL
|
||||||
? `https://${process.env.VERCEL_URL}`
|
? `https://${process.env.VERCEL_URL}`
|
||||||
: "http://localhost:3000";
|
: "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
|
cache: "no-store", // 👈 disables caching for SSR freshness
|
||||||
});
|
});
|
||||||
const users = await res.json();
|
const users = await res.json();
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
import { Approve } from "@/app/features/pages/Approve/Approve";
|
import { Approve } from "@/app/features/pages/Approve/Approve";
|
||||||
|
|
||||||
|
|
||||||
export default function ApprovePage() {
|
export default function ApprovePage() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { FetchReport } from "../../FetchReports/FetchReports";
|
|||||||
import { Documentation } from "../../Documentation/Documentation";
|
import { Documentation } from "../../Documentation/Documentation";
|
||||||
import { AccountIQ } from "../../AccountIQ/AccountIQ";
|
import { AccountIQ } from "../../AccountIQ/AccountIQ";
|
||||||
import { WhatsNew } from "../../WhatsNew/WhatsNew";
|
import { WhatsNew } from "../../WhatsNew/WhatsNew";
|
||||||
import { TransactionsOverView } from "../../TransactionsOverView/TransactionsOverview";
|
import { TransactionsOverView } from "../../TransactionsOverview/TransactionsOverview";
|
||||||
|
|
||||||
export const DashboardHomePage = () => {
|
export const DashboardHomePage = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -23,7 +23,6 @@ import SearchFilters from "@/app/components/searchFilter/SearchFilters";
|
|||||||
import { exportData } from "@/app/utils/exportData";
|
import { exportData } from "@/app/utils/exportData";
|
||||||
import { ITransaction } from "./types";
|
import { ITransaction } from "./types";
|
||||||
|
|
||||||
|
|
||||||
const paginationModel = { page: 0, pageSize: 50 };
|
const paginationModel = { page: 0, pageSize: 50 };
|
||||||
|
|
||||||
interface IDepositProps {
|
interface IDepositProps {
|
||||||
|
|||||||
@ -25,8 +25,9 @@ interface IDepositTransactionsSearchLabels {
|
|||||||
options?: string[];
|
options?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export interface ITransaction {
|
export interface ITransaction {
|
||||||
filteredTransactions: IFilteredTransactions[];
|
filteredTransactions: IFilteredTransactions[];
|
||||||
transactionsColumns: IDepositTransactionsColumns[];
|
transactionsColumns: IDepositTransactionsColumns[];
|
||||||
transactionsSearchLabels: IDepositTransactionsSearchLabels[];
|
transactionsSearchLabels: IDepositTransactionsSearchLabels[];
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user