From f6137c3647420713f434ae1855525526fd50e2a6 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 8 Aug 2018 11:33:43 -0400 Subject: [PATCH] not editing if publish uris are undefined --- src/renderer/redux/selectors/publish.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/redux/selectors/publish.js b/src/renderer/redux/selectors/publish.js index 6556a8932..12bcb06e7 100644 --- a/src/renderer/redux/selectors/publish.js +++ b/src/renderer/redux/selectors/publish.js @@ -48,6 +48,10 @@ export const selectPendingPublish = uri => export const selectIsStillEditing = createSelector(selectPublishFormValues, publishState => { const { editingURI, uri } = publishState; + if (!editingURI || !uri) { + return false; + } + const { isChannel: currentIsChannel, claimName: currentClaimName, -- 2.45.3