Add file text to publish state #330
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ import { CHANNEL_ANONYMOUS } from 'constants/claim';
|
||||||
|
|
||||||
type PublishState = {
|
type PublishState = {
|
||||||
editingURI: ?string,
|
editingURI: ?string,
|
||||||
|
fileText: ?string,
|
||||||
filePath: ?string,
|
filePath: ?string,
|
||||||
contentIsFree: boolean,
|
contentIsFree: boolean,
|
||||||
fileDur: number,
|
fileDur: number,
|
||||||
|
@ -36,6 +37,7 @@ type PublishState = {
|
||||||
|
|
||||||
const defaultState: PublishState = {
|
const defaultState: PublishState = {
|
||||||
editingURI: undefined,
|
editingURI: undefined,
|
||||||
|
fileText: '',
|
||||||
filePath: undefined,
|
filePath: undefined,
|
||||||
fileDur: 0,
|
fileDur: 0,
|
||||||
fileSize: 0,
|
fileSize: 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue