Merge pull request #330 from btzr-io/patch-1

Add file text to publish state
This commit is contained in:
Sean Yesmunt 2020-06-29 17:43:13 -04:00 committed by GitHub
commit bcf4146e34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ import { CHANNEL_ANONYMOUS } from 'constants/claim';
type PublishState = {
editingURI: ?string,
fileText: ?string,
filePath: ?string,
contentIsFree: boolean,
fileDur: number,
@ -36,6 +37,7 @@ type PublishState = {
const defaultState: PublishState = {
editingURI: undefined,
fileText: '',
filePath: undefined,
fileDur: 0,
fileSize: 0,