Define default value for 'thumbnailError' #411

Merged
infinite-persistence merged 1 commit from ip/thumbnail-error into master 2021-05-12 16:20:33 +02:00
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: '',
thumbnailPath: '',
uploadThumbnailStatus: API_DOWN,
thumbnailError: undefined,
description: '',
language: '',
releaseTime: undefined,

View file

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