feat: state for click confirmation

This commit is contained in:
karishmas6
2024-07-23 07:40:09 +05:30
parent 0d69e7e776
commit 137029cc9a

View File

@@ -38,6 +38,7 @@ export const BrowserWindow = () => {
const [screenShot, setScreenShot] = useState<string>("");
const [highlighterData, setHighlighterData] = useState<{ rect: DOMRect, selector: string } | null>(null);
const [showConfirmation, setShowConfirmation] = useState(false);
const [isClickConfirmed, setIsClickConfirmed] = useState(false);
const { socket } = useSocketStore();
const { width, height } = useBrowserDimensionsStore();