diff --git a/packages/react/src/container/Pane/index.tsx b/packages/react/src/container/Pane/index.tsx index b57d8f3c..53b3d15e 100644 --- a/packages/react/src/container/Pane/index.tsx +++ b/packages/react/src/container/Pane/index.tsx @@ -77,7 +77,7 @@ export function Pane({ }: PaneProps) { const store = useStoreApi(); const { userSelectionActive, elementsSelectable, dragging, connectionInProgress } = useStore(selector, shallow); - const hasActiveSelection = elementsSelectable && (isSelecting || userSelectionActive); + const isSelectionEnabled = elementsSelectable && (isSelecting || userSelectionActive); const container = useRef(null); const containerBounds = useRef(); @@ -284,14 +284,14 @@ export function Pane({ return (
{@render children()}