Fix typo in error.message (#3891)

This commit is contained in:
Miguel Alatzar 2020-02-07 05:50:20 -07:00 committed by GitHub
parent a17b534916
commit cadec1b793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,7 +312,7 @@ export default class Downloader extends PureComponent {
// do nothing
});
}
if (error.message !== 'cancelled' && this.mounted) {
if (error.message !== 'canceled' && this.mounted) {
this.showDownloadFailedAlert();
} else {
this.downloadDidCancel();