refactor(TenderDetails): improve country flag validation and rendering logic

- Enhanced the validation of country codes in the TenderDetails component using a new utility function.
- Updated the useGetFlagQuery hook to include an options parameter for conditional fetching based on country code validity.
- Refined the rendering logic to ensure country flags are displayed only when valid data is available.
This commit is contained in:
AmirReza Jamali
2026-04-13 08:46:33 +03:30
parent 76cb29d31e
commit 6a5986d6eb
4 changed files with 217 additions and 0 deletions
+91
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 27 KiB