Skip to content

Commit

Permalink
Fixing prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulrahuman5196 committed May 10, 2023
1 parent 1e562ea commit 000fbb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/workspace/WorkspaceInviteMessagePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ class WorkspaceInviteMessagePage extends React.Component {

componentDidUpdate(prevProps) {
if (
!((prevProps.preferredLocale !== this.props.preferredLocale || prevProps.policy.name !== this.props.policy.name)
&& this.state.welcomeNote === Localize.translate(prevProps.preferredLocale, 'workspace.inviteMessage.welcomeNote', {workspaceName: prevProps.policy.name}))
!(
(prevProps.preferredLocale !== this.props.preferredLocale || prevProps.policy.name !== this.props.policy.name) &&
this.state.welcomeNote === Localize.translate(prevProps.preferredLocale, 'workspace.inviteMessage.welcomeNote', {workspaceName: prevProps.policy.name})
)
) {
return;
}
Expand Down

0 comments on commit 000fbb3

Please sign in to comment.