diff --git a/inji-verify/src/components/Home/VerificationSection/ScanQrCode.tsx b/inji-verify/src/components/Home/VerificationSection/ScanQrCode.tsx
index dc7bf454..b40186eb 100644
--- a/inji-verify/src/components/Home/VerificationSection/ScanQrCode.tsx
+++ b/inji-verify/src/components/Home/VerificationSection/ScanQrCode.tsx
@@ -64,7 +64,10 @@ const ScanQrCode = ({setScanResult}: {
-
+
{
setScanStatus(!!scanResult.data ? "Success" : "Failed")
diff --git a/inji-verify/src/components/Home/VerificationSection/index.tsx b/inji-verify/src/components/Home/VerificationSection/index.tsx
index 6f2c99c6..cc58bebe 100644
--- a/inji-verify/src/components/Home/VerificationSection/index.tsx
+++ b/inji-verify/src/components/Home/VerificationSection/index.tsx
@@ -71,6 +71,9 @@ const DisplayActiveStep = () => {
// show error message in snackbar
}
setQrData(result.data || "");
+ if (!result.data) {
+ setActiveStep(VerificationSteps.ScanQrCodePrompt);
+ }
}
switch (activeStep) {