not editing if publish uris are undefined

This commit is contained in:
Sean Yesmunt 2018-08-08 11:33:43 -04:00
parent e8aa67bf7e
commit f6137c3647

View file

@ -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,