chore(react): simplify useEdgesState/useNodesState

This commit is contained in:
moklick
2023-12-23 17:35:55 +01:00
parent 3514152b4c
commit 3960c3bf67
9 changed files with 29 additions and 39 deletions
@@ -13,6 +13,7 @@ const selector = (s: ReactFlowStore) => ({
/**
* Hook for accessing the ongoing connection.
*
* @public
* @returns ongoing connection: startHandle, endHandle, status, position
*/
export function useConnection(): {