diff --git a/components/Message.tsx b/components/Message.tsx index 0cb56b6b..9bb6ce86 100644 --- a/components/Message.tsx +++ b/components/Message.tsx @@ -49,7 +49,7 @@ export const Message: React.FC = (props) => { const Progress: React.FC> = (props) => { return typeof props.progress === 'boolean' ? ( props.progress && ( - + ) ) : ( diff --git a/components/VcDetails.tsx b/components/VcDetails.tsx index 92fb9f7a..8dab0a4d 100644 --- a/components/VcDetails.tsx +++ b/components/VcDetails.tsx @@ -255,11 +255,13 @@ export const VcDetails: React.FC = (props) => { + {props.vc?.reason?.length > 0 && ( {t('reasonForSharing')} )} + {props.vc?.reason?.map((reason, index) => ( = (props) => { /> ))} - {props.isBindingPending && ( - - - - - {t('offlineAuthDisabledHeader')} - - - {t('offlineAuthDisabledMessage')} - + {props.isBindingPending ? ( + + + + -