From 88e43091898586a84661be6c8070f9e700a1c868 Mon Sep 17 00:00:00 2001 From: Wikzyy Date: Thu, 5 Jun 2025 14:51:17 +0700 Subject: [PATCH] [skip ci] update set qr to null after success verify code --- src/pages/account/home/user-profile/blocks/GenerateQr.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/account/home/user-profile/blocks/GenerateQr.tsx b/src/pages/account/home/user-profile/blocks/GenerateQr.tsx index f8fba97..a656cb0 100644 --- a/src/pages/account/home/user-profile/blocks/GenerateQr.tsx +++ b/src/pages/account/home/user-profile/blocks/GenerateQr.tsx @@ -68,6 +68,7 @@ const GenerateQr = () => { toast.error('Something went wrong, please try again'); } finally { setIsSubmitting(false); + setQrCodeUrl(null); } };