Fix types so the store can return undefined channels (#26393)

* Fix types so the store can return undefined channels

* Address feedback

* Revert gm change

* Fix lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Daniel Espino García
2024-05-06 12:04:36 +02:00
коммит произвёл GitHub
родитель c22509eca2
Коммит 539daee634
52 изменённых файлов: 290 добавлений и 227 удалений

Просмотреть файл

@@ -20,7 +20,7 @@ import type {PluginComponent} from 'types/store/plugins';
import './call_button.scss';
type Props = {
currentChannel: Channel;
currentChannel?: Channel;
channelMember?: ChannelMembership;
pluginCallComponents: PluginComponent[];
sidebarOpen: boolean;