feat: conditional set for click
This commit is contained in:
@@ -116,8 +116,10 @@ export const BrowserWindow = () => {
|
|||||||
if (confirmed) {
|
if (confirmed) {
|
||||||
console.log(`User confirmed interaction with: ${highlighterData?.selector}`);
|
console.log(`User confirmed interaction with: ${highlighterData?.selector}`);
|
||||||
// Here you can add logic to interact with the element
|
// Here you can add logic to interact with the element
|
||||||
|
setIsClickConfirmed(true);
|
||||||
} else {
|
} else {
|
||||||
console.log('User declined interaction');
|
console.log('User declined interaction');
|
||||||
|
setIsClickConfirmed(true);
|
||||||
}
|
}
|
||||||
setShowConfirmation(false);
|
setShowConfirmation(false);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user