fix(core): unwrap ref when checking if connection in progress (#1789)
* fix(core): unwrap ref when checking if connection in progress Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(changeset): add Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --------- Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -82,7 +82,7 @@ function wrapHandler(handler: Function, containerRef: HTMLDivElement | null) {
|
||||
}
|
||||
|
||||
function onClick(event: MouseEvent) {
|
||||
if (selectionInProgress || connectionInProgress) {
|
||||
if (selectionInProgress || connectionInProgress.value) {
|
||||
selectionInProgress = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user