From a1798ccefd98947e4cad3d77dc297d54c29cb8e6 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:06:05 +0200 Subject: [PATCH] move protocol provider under theme provider --- packages/status-react/src/routes/index.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/status-react/src/routes/index.tsx b/packages/status-react/src/routes/index.tsx index 1d917da6..f365522f 100644 --- a/packages/status-react/src/routes/index.tsx +++ b/packages/status-react/src/routes/index.tsx @@ -2,13 +2,12 @@ import React from 'react' import { BrowserRouter, Route, Routes } from 'react-router-dom' -import { ClientProvider } from '~/src/protocol' import { MainSidebar } from '~/src/components/main-sidebar' import { AppProvider } from '~/src/contexts/app-context' import { DialogProvider } from '~/src/contexts/dialog-context' import { ThemeProvider } from '~/src/contexts/theme-context' +import { ProtocolProvider } from '~/src/protocol' import { Chat } from '~/src/routes/chat' -// import { NewChat } from '~/src/routes/new-chat' import { styled } from '~/src/styles/config' import { GlobalStyle } from '~/src/styles/GlobalStyle' @@ -24,20 +23,19 @@ export const Community = (props: Props) => { return ( - - + + } /> - {/* } /> */} - - + + )