Skip to content

Commit 7fb481a

Browse files
author
ledouxm
committed
feat: reset to legacy view
1 parent 7aa017d commit 7fb481a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/frontend/src/features/state-report/pdf/ConstatPdf.view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export const ViewConstatPdf = () => {
2727
);
2828
};
2929

30-
const View = (props: StateReportPDFDocumentProps) =>
31-
supportsPromiseWithResolvers ? <ModernView {...props} /> : <LegacyView {...props} />;
30+
const View = (props: StateReportPDFDocumentProps) => <LegacyView {...props} />;
31+
// supportsPromiseWithResolvers ? <ModernView {...props} /> : <LegacyView {...props} />;
3232

3333
const ModernView = (props: StateReportPDFDocumentProps) => {
3434
const [height, setHeight] = useState(window.innerHeight);

0 commit comments

Comments
 (0)