review changes
This commit is contained in:
parent
81138e1a7a
commit
430f989809
2 changed files with 12 additions and 13 deletions
11
dist/bundle.es.js
vendored
11
dist/bundle.es.js
vendored
|
@ -5492,10 +5492,9 @@ function _objectWithoutProperties$3(obj, keys) { var target = {}; for (var i in
|
||||||
const defaultState$6 = {
|
const defaultState$6 = {
|
||||||
editingURI: undefined,
|
editingURI: undefined,
|
||||||
filePath: undefined,
|
filePath: undefined,
|
||||||
checkFileDur: 0,
|
fileDur: 0,
|
||||||
checkFileSize: 0,
|
fileSize: 0,
|
||||||
checkFileVid: false,
|
fileVid: false,
|
||||||
canOptimize: undefined,
|
|
||||||
contentIsFree: true,
|
contentIsFree: true,
|
||||||
fee: {
|
fee: {
|
||||||
amount: 1,
|
amount: 1,
|
||||||
|
@ -5529,7 +5528,9 @@ const publishReducer = handleActions({
|
||||||
const { data } = action;
|
const { data } = action;
|
||||||
return _extends$e({}, state, data);
|
return _extends$e({}, state, data);
|
||||||
},
|
},
|
||||||
[CLEAR_PUBLISH]: state => _extends$e({}, defaultState$6, { bid: state.bid, optimize: state.optimize
|
[CLEAR_PUBLISH]: state => _extends$e({}, defaultState$6, {
|
||||||
|
bid: state.bid,
|
||||||
|
optimize: state.optimize
|
||||||
}),
|
}),
|
||||||
[PUBLISH_START]: state => _extends$e({}, state, {
|
[PUBLISH_START]: state => _extends$e({}, state, {
|
||||||
publishing: true,
|
publishing: true,
|
||||||
|
|
|
@ -9,10 +9,9 @@ type PublishState = {
|
||||||
editingURI: ?string,
|
editingURI: ?string,
|
||||||
filePath: ?string,
|
filePath: ?string,
|
||||||
contentIsFree: boolean,
|
contentIsFree: boolean,
|
||||||
canOptimize: ?boolean,
|
fileDur: number,
|
||||||
checkFileDur: number,
|
fileSize: number,
|
||||||
checkFileSize: number,
|
fileVid: boolean,
|
||||||
checkFileVid: boolean,
|
|
||||||
fee: {
|
fee: {
|
||||||
amount: number,
|
amount: number,
|
||||||
currency: string,
|
currency: string,
|
||||||
|
@ -38,10 +37,9 @@ type PublishState = {
|
||||||
const defaultState: PublishState = {
|
const defaultState: PublishState = {
|
||||||
editingURI: undefined,
|
editingURI: undefined,
|
||||||
filePath: undefined,
|
filePath: undefined,
|
||||||
checkFileDur: 0,
|
fileDur: 0,
|
||||||
checkFileSize: 0,
|
fileSize: 0,
|
||||||
checkFileVid: false,
|
fileVid: false,
|
||||||
canOptimize: undefined,
|
|
||||||
contentIsFree: true,
|
contentIsFree: true,
|
||||||
fee: {
|
fee: {
|
||||||
amount: 1,
|
amount: 1,
|
||||||
|
|
Loading…
Reference in a new issue