From 43e9964b7bb545f6d3579fd00f19fc88ed606ed1 Mon Sep 17 00:00:00 2001 From: Alex Junior Date: Mon, 2 May 2022 15:11:41 -0300 Subject: [PATCH] Chore: Evaluate Create Channel - TypeScript (#4144) --- app/reducers/createChannel.ts | 2 +- app/views/CreateChannelView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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