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:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 27 KiB |
Reference in New Issue
Block a user