From 79863a120538f992e03a2c1c6517965e37039586 Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Sat, 15 Oct 2022 11:50:52 +0200 Subject: [PATCH] fixed email detector modal not showing up --- src/route-widgets/root/EmailForm/DetectEmailAutofillService.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route-widgets/root/EmailForm/DetectEmailAutofillService.tsx b/src/route-widgets/root/EmailForm/DetectEmailAutofillService.tsx index 402bc04..1b12989 100644 --- a/src/route-widgets/root/EmailForm/DetectEmailAutofillService.tsx +++ b/src/route-widgets/root/EmailForm/DetectEmailAutofillService.tsx @@ -49,7 +49,7 @@ export default function DetectEmailAutofillService({ const handleFound = useCallback( (type: AliasType) => { if (domains.includes(type)) { - if (hasShownModal) { + if (!hasShownModal) { setType(type) setHasShownModal(true)