From 481a60457fad5664294fd1699a1be253c5cc654e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 00:00:49 +0000 Subject: [PATCH] fix: shorten verbose comment in useBluetoothHRM Shortened a verbose comment explaining the connectionLock logic to comply with coding standards ("NO VERBOSE COMMENTS"). Co-authored-by: arii <342438+arii@users.noreply.github.com> --- hooks/useBluetoothHRM.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useBluetoothHRM.ts b/hooks/useBluetoothHRM.ts index b54f24ea0b..df1671a125 100644 --- a/hooks/useBluetoothHRM.ts +++ b/hooks/useBluetoothHRM.ts @@ -220,7 +220,7 @@ const useBluetoothHRM = (props: UseBluetoothHRMProps = {}) => { const timeSinceLastData = Date.now() - lastDataTime.current if (timeSinceLastData > dataLivenessTimeoutMs) { - // Fix Race Condition: Don't force a disconnect/reconnect if we are already in a connection state transition + // Don't force a disconnect/reconnect during connection state transition if (connectionLock.current) { logger.warn( { timeSinceLastData },