Skip to content

Commit

Permalink
fix: cannot read properties of null issue fixed (binary-com#9823)
Browse files Browse the repository at this point in the history
* fix: cannot read properties of null issue fixed

* fix: review fix

* fix: circle ci fail issue fixed

* fix: circle ci fail issue fixed

* fix: remove unwanted file change
  • Loading branch information
nada-deriv committed Oct 4, 2023
1 parent 8f862fc commit 629db74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/p2p/src/stores/my-ads-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default class MyAdsStore extends BaseStore {
if (response) {
if (!response.error) {
const { get_account_status } = response;
const { status } = get_account_status.authentication.identity;
const { status } = get_account_status?.authentication?.identity ?? {};
this.root_store.general_store.setPoiStatus(status);
} else {
this.setErrorMessage(response.error);
Expand Down

0 comments on commit 629db74

Please sign in to comment.