Move muted threads to new persistence + context (#1838)

This commit is contained in:
Paul Frazee
2023-11-08 09:08:42 -08:00
committed by GitHub
parent 4afed4be28
commit 74f8390f1d
12 changed files with 95 additions and 94 deletions
+4 -1
View File
@@ -17,6 +17,7 @@ import {ToastContainer} from 'view/com/util/Toast.web'
import {ThemeProvider} from 'lib/ThemeContext'
import {queryClient} from 'lib/react-query'
import {Provider as ShellStateProvider} from 'state/shell'
import {Provider as MutedThreadsProvider} from 'state/muted-threads'
const InnerApp = observer(function AppImpl() {
const colorMode = useColorMode()
@@ -68,7 +69,9 @@ function App() {
return (
<ShellStateProvider>
<InnerApp />
<MutedThreadsProvider>
<InnerApp />
</MutedThreadsProvider>
</ShellStateProvider>
)
}