Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3393536
D10723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
834 B
Referenced Files
None
Subscribers
None
D10723.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10723: [lib] Pass allKeyserverIDs on in getBoundKeyserverActionFunc
Attached
Detach File
Event Timeline
Log In to Comment