diff --git a/app/reducers/createChannel.ts b/app/reducers/createChannel.ts index 713a59f4e..fd2cbdcc2 100644 --- a/app/reducers/createChannel.ts +++ b/app/reducers/createChannel.ts @@ -4,7 +4,7 @@ import { CREATE_CHANNEL } from '../actions/actionsTypes'; interface ICreateChannelResult { name: string; users: string[]; - teamId: string; + teamId?: string; type: boolean; readOnly: boolean; encrypted: boolean; diff --git a/app/views/CreateChannelView.tsx b/app/views/CreateChannelView.tsx index 1a468166c..4b9b9e0a6 100644 --- a/app/views/CreateChannelView.tsx +++ b/app/views/CreateChannelView.tsx @@ -224,7 +224,7 @@ class CreateChannelView extends React.Component