diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index 5d4578d5..6b8f8843 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -13,24 +13,24 @@ interface ConfirmationBoxProps { } const ConfirmationBox = ({ selector, onYes, onNo }: ConfirmationBoxProps) => { - return ( - - - Confirmation - - - Do you want to interact with the element: {selector}? - - - - - - - ); + return ( + + + Confirmation + + + Do you want to interact with the element: {selector}? + + + + + + + ); }; export const BrowserWindow = () => { @@ -98,7 +98,7 @@ export const BrowserWindow = () => { const canvasRect = canvasRef.current.getBoundingClientRect(); const clickX = e.clientX - canvasRect.left; const clickY = e.clientY - canvasRect.top; - + const highlightRect = highlighterData.rect; if ( clickX >= highlightRect.left && @@ -123,8 +123,8 @@ export const BrowserWindow = () => { return (
- setShowConfirmation(false)} canBeClosed={false} >