Move invite-state to new persistence + context and replace the notifications with just showing uses in the modal (#1840)
This commit is contained in:
parent
74f8390f1d
commit
e75b2d508b
12 changed files with 137 additions and 259 deletions
|
@ -18,6 +18,7 @@ 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'
|
||||
import {Provider as InvitesStateProvider} from 'state/invites'
|
||||
|
||||
const InnerApp = observer(function AppImpl() {
|
||||
const colorMode = useColorMode()
|
||||
|
@ -70,7 +71,9 @@ function App() {
|
|||
return (
|
||||
<ShellStateProvider>
|
||||
<MutedThreadsProvider>
|
||||
<InnerApp />
|
||||
<InvitesStateProvider>
|
||||
<InnerApp />
|
||||
</InvitesStateProvider>
|
||||
</MutedThreadsProvider>
|
||||
</ShellStateProvider>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue