mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-26 19:00:34 +02:00
fixed email detector modal not showing up
This commit is contained in:
parent
e9d7cb0dbe
commit
79863a1205
@ -49,7 +49,7 @@ export default function DetectEmailAutofillService({
|
|||||||
const handleFound = useCallback(
|
const handleFound = useCallback(
|
||||||
(type: AliasType) => {
|
(type: AliasType) => {
|
||||||
if (domains.includes(type)) {
|
if (domains.includes(type)) {
|
||||||
if (hasShownModal) {
|
if (!hasShownModal) {
|
||||||
setType(type)
|
setType(type)
|
||||||
|
|
||||||
setHasShownModal(true)
|
setHasShownModal(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user