From 0d2d64aca7c1c095fbf65abfd7d055642bc854f0 Mon Sep 17 00:00:00 2001 From: Franco Montenegro Date: Wed, 24 Feb 2021 17:33:22 -0300 Subject: [PATCH] Clear uri when clearing publish --- dist/bundle.es.js | 1 + src/redux/reducers/publish.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 87888eb..fc5336a 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -5960,6 +5960,7 @@ const publishReducer = handleActions({ return _extends$c({}, state, data); }, [CLEAR_PUBLISH]: state => _extends$c({}, defaultState$4, { + uri: undefined, channel: state.channel, bid: state.bid, optimize: state.optimize, diff --git a/src/redux/reducers/publish.js b/src/redux/reducers/publish.js index fe874b8..124f6cb 100644 --- a/src/redux/reducers/publish.js +++ b/src/redux/reducers/publish.js @@ -85,6 +85,7 @@ export const publishReducer = handleActions( }, [ACTIONS.CLEAR_PUBLISH]: (state: PublishState): PublishState => ({ ...defaultState, + uri: undefined, channel: state.channel, bid: state.bid, optimize: state.optimize,