chore(useConnection): update tsdoc

This commit is contained in:
moklick
2024-06-26 17:23:52 +02:00
parent 5493f045ff
commit 25ff17a161
+2 -2
View File
@@ -9,10 +9,10 @@ const selector = (s: ReactFlowStore) => ({
}); });
/** /**
* Hook for accessing the ongoing connection. * Hook for accessing the connection state.
* *
* @public * @public
* @returns ongoing connection * @returns ConnectionState
*/ */
export function useConnection(): ConnectionState { export function useConnection(): ConnectionState {
return useStore(selector, shallow); return useStore(selector, shallow);