Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiKJha committed Jan 24, 2025
1 parent bb6d241 commit 4f47a96
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export default class PermissionConnect extends Component {
this.props;
const { redirecting, origin } = this.state;

// We cache the last known good targetSubjectMetadata since it may be null when the approval is cleared
if (
targetSubjectMetadata?.origin &&
prevProps.targetSubjectMetadata?.origin !== targetSubjectMetadata?.origin
Expand Down

0 comments on commit 4f47a96

Please sign in to comment.