This commit is contained in:
hamid zarghami
2025-02-26 14:57:11 +03:30
parent e3466bc951
commit 7a4e8ecaa5
29 changed files with 350 additions and 39 deletions
@@ -55,6 +55,10 @@ const Personal: FC = () => {
useEffect(() => {
if (getFinancialInfo.data?.data?.user?.legalUser || getFinancialInfo.data?.data?.user?.realUser) {
setIsReadOnly(true)
}
if (getFinancialInfo.data?.data?.user?.realUser) {
const data = getFinancialInfo.data?.data?.user
setIsReadOnly(true)