Skip to content

Commit

Permalink
chore: add condition to fix idv section design change (deriv-com#11245)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzaib-deriv authored and likhith-deriv committed Nov 7, 2023
1 parent 9c6ca8c commit 40492a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const PersonalDetailsForm = props => {
};

const getFieldHint = field_name =>
is_svg_only || is_rendered_for_onfido ? (
is_svg_only || is_rendered_for_onfido || is_qualified_for_idv ? (
<Localize
i18n_default_text={'Your {{ field_name }} as in your identity document'}
values={{ field_name }}
Expand Down Expand Up @@ -127,7 +127,7 @@ const PersonalDetailsForm = props => {
'account-form__poi-confirm-example': is_qualified_for_idv,
})}
>
{(is_svg_only || is_rendered_for_onfido) && (
{(is_svg_only || is_rendered_for_onfido || is_qualified_for_idv) && (
<div className='account-form__poi-inline-message'>
<InlineMessage message={name_dob_clarification_message} size='md' />
</div>
Expand Down

0 comments on commit 40492a8

Please sign in to comment.