Merge pull request #411 from lbryio/ip/thumbnail-error

Define default value for 'thumbnailError'
This commit is contained in:
Thomas Zarebczan 2021-05-12 10:20:33 -04:00 committed by GitHub
commit 6fc11454eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
dist/bundle.es.js vendored
View file

@ -6056,6 +6056,7 @@ const defaultState$4 = {
thumbnail_url: '', thumbnail_url: '',
thumbnailPath: '', thumbnailPath: '',
uploadThumbnailStatus: API_DOWN, uploadThumbnailStatus: API_DOWN,
thumbnailError: undefined,
description: '', description: '',
language: '', language: '',
releaseTime: undefined, releaseTime: undefined,

View file

@ -22,6 +22,7 @@ type PublishState = {
thumbnail_url: string, thumbnail_url: string,
thumbnailPath: string, thumbnailPath: string,
uploadThumbnailStatus: string, uploadThumbnailStatus: string,
thumbnailError: ?boolean,
description: string, description: string,
language: string, language: string,
releaseTime: ?string, releaseTime: ?string,
@ -55,6 +56,7 @@ const defaultState: PublishState = {
thumbnail_url: '', thumbnail_url: '',
thumbnailPath: '', thumbnailPath: '',
uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN, uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN,
thumbnailError: undefined,
description: '', description: '',
language: '', language: '',
releaseTime: undefined, releaseTime: undefined,