Skip to content

Commit 7ab5eea

Browse files
committed
Rename onToggle to onInteract for LocatorButton component
1 parent 66c6cbb commit 7ab5eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frontend/src/structure.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ const LocatorButton: s.Component = () => {
351351
return (
352352
<ui.ToggleButton
353353
class="shrink-0 w-7 h-7"
354-
onToggle={locator.setLocatorState}
354+
onInteract={locator.setLocatorState}
355355
selected={locator.locatorEnabled()}
356356
title="Select an element in the page to inspect it"
357357
>

0 commit comments

Comments
 (0)