From 89177dfdc3b595dbca38ab9cbfef7ff895b2c7d3 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 23 May 2022 14:39:42 +0200 Subject: [PATCH] feat(react): comment out unused parts --- .../components/main-sidebar/components/channels/index.tsx | 2 +- .../main-sidebar/components/get-started/index.tsx | 4 ++-- packages/status-react/src/components/main-sidebar/index.tsx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/status-react/src/components/main-sidebar/components/channels/index.tsx b/packages/status-react/src/components/main-sidebar/components/channels/index.tsx index c1c69f2b..43fe7402 100644 --- a/packages/status-react/src/components/main-sidebar/components/channels/index.tsx +++ b/packages/status-react/src/components/main-sidebar/components/channels/index.tsx @@ -7,7 +7,7 @@ import { ChannelItem } from './channel-item' const CHANNELS = { Public: ['welcome', 'general', 'random'], - Other: ['random', 'general', 'welcome'], + Internal: ['watercooler', 'pm'], } export const Channels = () => { diff --git a/packages/status-react/src/components/main-sidebar/components/get-started/index.tsx b/packages/status-react/src/components/main-sidebar/components/get-started/index.tsx index 1802a1fb..be51719e 100644 --- a/packages/status-react/src/components/main-sidebar/components/get-started/index.tsx +++ b/packages/status-react/src/components/main-sidebar/components/get-started/index.tsx @@ -142,10 +142,10 @@ export const GetStarted = () => { Want to jump into the discussion? - + {/* - + */} diff --git a/packages/status-react/src/components/main-sidebar/index.tsx b/packages/status-react/src/components/main-sidebar/index.tsx index e12df65d..20052ca6 100644 --- a/packages/status-react/src/components/main-sidebar/index.tsx +++ b/packages/status-react/src/components/main-sidebar/index.tsx @@ -7,7 +7,7 @@ import { Separator } from '~/src/system' import { Channels } from './components/channels' import { CommunityInfo } from './components/community-info' import { GetStarted } from './components/get-started' -import { Messages } from './components/messages' +// import { Messages } from './components/messages' export const MainSidebar = () => { const { options } = useAppState() @@ -20,8 +20,8 @@ export const MainSidebar = () => { - - + {/* + */}