[Glitch] Fix crash of standalone wrapstodon and embedded status pages
Port a78d1150a9 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
6aca68e185
commit
81aaac4779
3 files changed
+9
-9
No files matched your search
@@ -11,6 +11,7 @@ import {
|
||||
toggleStatusSpoilers,
|
||||
} from 'flavours/glitch/actions/statuses';
|
||||
import { hydrateStore } from 'flavours/glitch/actions/store';
|
||||
import { FocusTargetProvider } from 'flavours/glitch/components/navigation_focus_target';
|
||||
import { Router } from 'flavours/glitch/components/router';
|
||||
import { DetailedStatus } from 'flavours/glitch/features/status/components/detailed_status';
|
||||
import { useRenderSignal } from 'flavours/glitch/hooks/useRenderSignal';
|
||||
@@ -86,7 +87,9 @@ export const Status: React.FC<{ id: string }> = ({ id }) => {
|
||||
<IntlProvider>
|
||||
<Provider store={store}>
|
||||
<Router>
|
||||
<Embed id={id} />
|
||||
<FocusTargetProvider>
|
||||
<Embed id={id} />
|
||||
</FocusTargetProvider>
|
||||
</Router>
|
||||
</Provider>
|
||||
</IntlProvider>
|
||||
|
||||
Reference in new issue
Block a user