add file text to publish state

This commit is contained in:
Baltazar Gomez 2020-06-26 23:29:00 -05:00 committed by GitHub
parent e4c05cebe9
commit ebf0d49fb0
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,