diff --git a/src/renderer/redux/actions/publish.js b/src/renderer/redux/actions/publish.js index 1b1d7cb87..16cbc00fe 100644 --- a/src/renderer/redux/actions/publish.js +++ b/src/renderer/redux/actions/publish.js @@ -67,7 +67,7 @@ export const doUploadThumbnail = (filePath: string, nsfw: boolean) => (dispatch: return text; }; - const uploadError = (error: string = '') => + const uploadError = (error = '') => dispatch( batchActions( {