diff --git a/packages/status-react/src/routes/index.tsx b/packages/status-react/src/routes/index.tsx index 9fc1cc0d..640780fa 100644 --- a/packages/status-react/src/routes/index.tsx +++ b/packages/status-react/src/routes/index.tsx @@ -7,13 +7,15 @@ import { AppProvider } from '~/src/contexts/app-context' import { DialogProvider } from '~/src/contexts/dialog-context' import { ThemeProvider } from '~/src/contexts/theme-context' import { Chat } from '~/src/routes/chat' -import { NewChat } from '~/src/routes/new-chat' +// import { NewChat } from '~/src/routes/new-chat' import { styled } from '~/src/styles/config' import { GlobalStyle } from '~/src/styles/GlobalStyle' import type { Config } from '~/src/types/config' -type Props = Config +interface Props extends Config { + meta?: string +} export const Community = (props: Props) => { const { theme, router: Router = BrowserRouter } = props @@ -28,7 +30,7 @@ export const Community = (props: Props) => { } /> - } /> + {/* } /> */} diff --git a/packages/status-react/src/routes/new-chat/index.tsx b/packages/status-react/src/routes/new-chat/index.tsx index 40d1fea6..eccd8077 100644 --- a/packages/status-react/src/routes/new-chat/index.tsx +++ b/packages/status-react/src/routes/new-chat/index.tsx @@ -1,4 +1,3 @@ -// @ts-nocheck import React, { useCallback, useMemo, useState } from 'react' import { BellIcon } from '~/src/icons/bell-icon' @@ -14,12 +13,12 @@ import { CrossIcon } from '../../components/Icons/CrossIcon' import { Member } from '../../components/Members/Member' import { SearchBlock } from '../../components/SearchBlock' import { textMediumStyles } from '../../components/Text' -import { ChatState, useChatState } from '../../contexts/chatStateProvider' -import { useUserPublicKey } from '../../contexts/identityProvider' -import { useMessengerContext } from '../../contexts/messengerProvider' -import { useNarrow } from '../../contexts/narrowProvider' +// import { ChatState, useChatState } from '../../contexts/chatStateProvider' +// import { useUserPublicKey } from '../../contexts/identityProvider' +// import { useMessengerContext } from '../../contexts/messengerProvider' +// import { useNarrow } from '../../contexts/narrowProvider' -import type { ChannelData } from '../../models/ChannelData' +// import type { ChannelData } from '../../models/ChannelData' interface Props { setEditGroup?: (val: boolean) => void