diff --git a/src/app/components/DeviceVerification.tsx b/src/app/components/DeviceVerification.tsx index c28a1cc27..9a2f5ce9f 100644 --- a/src/app/components/DeviceVerification.tsx +++ b/src/app/components/DeviceVerification.tsx @@ -62,12 +62,16 @@ type VerificationAcceptProps = { onAccept: () => Promise; }; function VerificationAccept({ onAccept }: VerificationAcceptProps) { - const [acceptState, accept] = useAsyncCallback(onAccept); + const [acceptState, accept] = useAsyncCallback(onAccept); const accepting = acceptState.status === AsyncStatus.Loading; return ( - Click accept to start the verification process. + + {acceptState.status === AsyncStatus.Error + ? acceptState.error.message + : 'Click accept to start the verification process.'} +