Skip to content

Commit 5af29f0

Browse files
author
Ole Martin Handeland
committed
The text resources weren't always getting fetched in this PDF mode, and it seems the reason is because <RenderStart />, which actually sets the text resources in language data sources, wasn't being rendered.
1 parent c14474a commit 5af29f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/presentation/Presentation.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,9 @@ export const useHasPresentation = () => useHasProvider();
129129
* for loaders, this can be used to prevent the loader from creating a presentation.
130130
*/
131131
export function DummyPresentation({ children }: PropsWithChildren) {
132-
return <PresentationProvider value={undefined}>{children}</PresentationProvider>;
132+
return (
133+
<PresentationProvider value={undefined}>
134+
<RenderStart>{children}</RenderStart>
135+
</PresentationProvider>
136+
);
133137
}

0 commit comments

Comments
 (0)