fix: build error

This commit is contained in:
sajadMRjl
2026-06-27 21:27:00 +03:30
parent fff40fcc74
commit 489ea38a80
3 changed files with 503 additions and 516 deletions

1010
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,3 @@
import Logo from '@/components/Logo';
import { Box } from '@mui/material'; import { Box } from '@mui/material';
import type { ReactElement } from 'react'; import type { ReactElement } from 'react';
import ClubLogo from '@/assets/club-logo.png'; import ClubLogo from '@/assets/club-logo.png';

View File

@@ -84,14 +84,10 @@ export const InfoRowEdit = forwardRef(
} }
label={label} label={label}
error={ error={
name !== 'nationalCode' && touched[name] && (value.trim() === '' || !isValidName(value))
touched[name] &&
(value.trim() === '' || !isValidName(value))
} }
helperText={ helperText={
name !== 'nationalCode' && touched[name] && (value.trim() === '' || !isValidName(value))
touched[name] &&
(value.trim() === '' || !isValidName(value))
? t('settingForm.thisFieldIsRequired', { ns: 'setting' }) ? t('settingForm.thisFieldIsRequired', { ns: 'setting' })
: undefined : undefined
} }