]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/private_message/private-message-report.tsx
ES-Lint tweak (#2001)
[lemmy-ui.git] / src / shared / components / private_message / private-message-report.tsx
index d15f18c5280587ced80617b5c4da0b5f12d93355..de6ef77cd622b8dc970333ee37791a9ff0190afe 100644 (file)
@@ -31,7 +31,7 @@ export class PrivateMessageReport extends Component<Props, State> {
   componentWillReceiveProps(
     nextProps: Readonly<{ children?: InfernoNode } & Props>
   ): void {
-    if (this.props != nextProps) {
+    if (this.props !== nextProps) {
       this.setState({ loading: false });
     }
   }