Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
remove unused code
Abi Rajaf7c9209d1803
diff --git a/frontend/src/components/select-and-edit/utils.ts b/frontend/src/components/select-and-edit/utils.tsindex f3180fd3..9462778b 100644--- a/frontend/src/components/select-and-edit/utils.ts+++ b/frontend/src/components/select-and-edit/utils.ts@@ -18,7 +18,5 @@ export function getAdjustedCoordinates(const offsetX = rect ? rect.left : 0;const offsetY = rect ? rect.top : 0;- // Adjust for scale- const scale = 1; // the scale factor applied to the iframe- return { x: x / scale + offsetX, y: y / scale + offsetY };+ return { x: x + offsetX, y: y + offsetY };}