From 74acce64ccdf442dc7d0895b85c19d205959c7b8 Mon Sep 17 00:00:00 2001 From: Mohammad Jalali Date: Sun, 16 Jul 2023 11:57:14 +0330 Subject: [PATCH] show diffrent between welfare and navy to user --- src/components/dashboard/loan-request/index.jsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard/loan-request/index.jsx b/src/components/dashboard/loan-request/index.jsx index 7f6f827..3b5d31f 100644 --- a/src/components/dashboard/loan-request/index.jsx +++ b/src/components/dashboard/loan-request/index.jsx @@ -3,14 +3,25 @@ import DashboardLayouts from "@/layouts/dashboardLayouts"; import useUser from "@/lib/app/hooks/useUser"; import NavyForm from "./NavyForm"; import WelfareServicesForm from "./WelfareServicesForm"; +import { Divider, Chip, Box } from "@mui/material"; +import { useTranslations } from "next-intl"; const DashboardLoanRequestComponent = () => { - - const { token, user } = useUser(); + const t = useTranslations(); + const { user } = useUser(); return ( + + + + + {user.type_id == 1 ? : }