HomePhabricator
Diffusion Comm 807467988e57

[lib] Fix getResultInfo undefined error

Description

[lib] Fix getResultInfo undefined error

Summary:
Man, I've been causing bugs left and right recently. This one is from D510.

I had used optional chaining to handle the case where options is undefined, but not the case where options is defined but options.getResultInfo is undefined.

Test Plan:

  1. Upload a photo and make sure it works
  2. Send a report and make sure it works

Reviewers: palys-swm

Subscribers: KatPo, zrebcu411, Adrian

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

Details

Provenance
Ashoat Tevosyan <ashoat@gmail.com>Authored on Dec 22 2020, 11:08 AM
Differential Revision
Restricted Differential Revision
Parents
rCOMM9dea2b514da1: [native] Add button to reject friend request in relationship list
Branches
Unknown
Tags
Unknown

Event Timeline