Feature/update api

This commit is contained in:
2024-11-05 07:09:13 +00:00
committed by AmirHossein Mahmoodi
parent 56196f33c7
commit b64a1c93e9
83 changed files with 4066 additions and 3123 deletions

View File

@@ -1,18 +1,16 @@
import LoanFollowUpComponent from "@/components/dashboard/navgan/followUp-loan";
import {globalServerProps} from "@/core/utils/globalServerProps";
import { globalServerProps } from "@/core/utils/globalServerProps";
export default function FollowUpLoan() {
return (
<LoanFollowUpComponent/>
);
return <LoanFollowUpComponent />;
}
export async function getServerSideProps({req, locale}) {
export async function getServerSideProps({ req, locale }) {
return {
props: {
...await globalServerProps({req, locale}),
...(await globalServerProps({ req, locale })),
title: "LoanRequest.loan_request_page",
layout: {name: 'DashboardLayout'}
layout: { name: "DashboardLayout" },
},
};
}