Skip to content

Commit

Permalink
added null check
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
  • Loading branch information
amsiglan committed Aug 31, 2023
1 parent 6309335 commit 5b251ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/pages/Main/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Main extends Component {
this.props.history,
this.props.location
);
this.context.chrome.setBreadcrumbs(breadcrumbs);
this.context.chrome?.setBreadcrumbs(breadcrumbs);
}

// TODO: Want to move this to redux store so we don't have to pass down setFlyout through components
Expand Down

0 comments on commit 5b251ce

Please sign in to comment.