Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: convert logical operator to optional chainining (#11033)
The [optional chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) operator can be used to perform null checks before accessing a property, or calling a function. Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- Loading branch information