@pear-protocol/symmio-client 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react/index.js
CHANGED
|
@@ -25313,13 +25313,7 @@ function useSymmWs(params = {}) {
|
|
|
25313
25313
|
);
|
|
25314
25314
|
if (executionsUnsub) unsubscribers.push(executionsUnsub);
|
|
25315
25315
|
return () => {
|
|
25316
|
-
|
|
25317
|
-
unsubscribers.forEach((unsubscribe) => unsubscribe());
|
|
25318
|
-
} else {
|
|
25319
|
-
removeOnConnect();
|
|
25320
|
-
removeOnDisconnect();
|
|
25321
|
-
ws.unsubscribeAll();
|
|
25322
|
-
}
|
|
25316
|
+
unsubscribers.forEach((unsubscribe) => unsubscribe());
|
|
25323
25317
|
};
|
|
25324
25318
|
}, [symmCoreClient, accountAddress, chainId, queryClient, setConnected]);
|
|
25325
25319
|
return { isConnected };
|