not editing if publish uris are undefined
This commit is contained in:
parent
e8aa67bf7e
commit
f6137c3647
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue