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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 95 additions and 94 deletions

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>
)
}