{(() => {
switch (proofStep) {
case QRcodeSteps.PROOF_GENERATION_STARTED:
case QRcodeSteps.PROOF_GENERATED:
return ;
case QRcodeSteps.PROOF_GENERATION_FAILED:
return (
// @ts-expect-error Lottie typings don't match the default export shape
{
setProofStep(QRcodeSteps.WAITING_FOR_MOBILE);
}}
loop={false}
/>
);
case QRcodeSteps.PROOF_VERIFIED:
return (
// @ts-expect-error Lottie typings don't match the default export shape
{
setProofStep(QRcodeSteps.WAITING_FOR_MOBILE);
}}
loop={false}
/>
);
default:
return (
);
}
})()}
);
return