Closed vbudhram closed 1 month ago
session.isSessionVerified
session.verified
Closes: https://mozilla-hub.atlassian.net/browse/FXA-9835
I tried removing the depencies on the useEffect hook, which in theory should make the component render once, it didn't :/
useEffect
Filed https://mozilla-hub.atlassian.net/browse/FXA-9866 to update this.
Because
session.isSessionVerified
updates the apollo cache of session info, which I think causes a render of the componentThis pull request
session.verified
to send emailIssue that this pull request solves
Closes: https://mozilla-hub.atlassian.net/browse/FXA-9835
Checklist
Other information (Optional)
I tried removing the depencies on the
useEffect
hook, which in theory should make the component render once, it didn't :/