HomePhabricator
Diffusion Comm 9b4481c37d33

[lib] Fix memoization of useRelationshipPrompt

Description

[lib] Fix memoization of useRelationshipPrompt

Summary:
We were using callbacks but the return value was never memoized.
Depends on D3734

Test Plan: Send friend request by using relationship prompt and check if the state was updated.

Reviewers: benschac, atul, def-au1t

Reviewed By: atul

Subscribers: ashoat, Adrian, karol-bisztyga, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3735

Details

Provenance
tomekAuthored on Apr 14 2022, 11:26 AM
Reviewer
atul
Differential Revision
D3735: [lib] Fix memoization of useRelationshipPrompt
Parents
rCOMM72aa035507f4: [lib] Introduce relationship callbacks
Branches
Unknown
Tags
Unknown