feat(core): store handle validation in store state

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-08 16:32:11 +01:00
committed by Braks
parent 9b9942c7f7
commit 9fb551569d
5 changed files with 20 additions and 12 deletions
@@ -156,6 +156,7 @@ export default function useHandle({
viewport.value,
)
: connectionPosition,
result,
getConnectionStatus(!!prevClosestHandle, isValid),
)