Fix crash with no channel
This commit is contained in:
parent
d8123bd372
commit
283ea69a6e
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ function PublishForm(props: Props) {
|
|||
const formDisabled = (fileFormDisabled && !editingURI) || emptyPostError || publishing;
|
||||
const isInProgress = filePath || editingURI || name || title;
|
||||
const activeChannelName = activeChannelClaim && activeChannelClaim.name;
|
||||
const activeChannelClaimStr = JSON.stringify(activeChannelClaim);
|
||||
const activeChannelClaimStr = activeChannelClaim && JSON.stringify(activeChannelClaim);
|
||||
// Editing content info
|
||||
const fileMimeType =
|
||||
myClaimForUri && myClaimForUri.value && myClaimForUri.value.source
|
||||
|
|
Loading…
Reference in a new issue