Page MenuHomePhabricator

D10723.diff
No OneTemporary

D10723.diff

diff --git a/lib/keyserver-conn/call-keyserver-endpoint-provider.react.js b/lib/keyserver-conn/call-keyserver-endpoint-provider.react.js
--- a/lib/keyserver-conn/call-keyserver-endpoint-provider.react.js
+++ b/lib/keyserver-conn/call-keyserver-endpoint-provider.react.js
@@ -389,10 +389,16 @@
[getCallSingleKeyserverEndpoint],
);
+ const keyserverIDs = React.useMemo(
+ () => Object.keys(keyserverCallInfos),
+ [keyserverCallInfos],
+ );
+
const getBoundKeyserverActionFunc: GetBoundKeyserverActionFunc =
React.useMemo(
- () => _memoize(actionFunc => actionFunc(callKeyserverEndpoint)),
- [callKeyserverEndpoint],
+ () =>
+ _memoize(actionFunc => actionFunc(callKeyserverEndpoint, keyserverIDs)),
+ [callKeyserverEndpoint, keyserverIDs],
);
const value = React.useMemo(

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 2:42 PM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2605253
Default Alt Text
D10723.diff (834 B)

Event Timeline