mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-01 03:08:23 -05:00
Resolve typescript consistent-return JS lint warnings (#40689)
This commit is contained in:
@@ -351,7 +351,7 @@ class UI extends PureComponent {
|
||||
if (!this.props.isUploadEnabled) {
|
||||
return;
|
||||
}
|
||||
if (this.dataTransferIsText(e.dataTransfer)) return false;
|
||||
if (this.dataTransferIsText(e.dataTransfer)) return;
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
@@ -362,7 +362,7 @@ class UI extends PureComponent {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
return false;
|
||||
return;
|
||||
};
|
||||
|
||||
handleDrop = (e) => {
|
||||
|
||||
Reference in New Issue
Block a user