File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/code-du-travail-frontend/src/modules Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { DefaultColorScheme } from "@codegouvfr/react-dsfr/next-appdir";
77import { StartDsfrSystem } from "./StartDsfrSystem" ;
88import { StartDsfrLight } from "./StartDsfrLight" ;
99import { StartDsfrDark } from "./StartDsfrDark" ;
10- import { PolyfillComponent } from "./PolyfillComponent" ;
1110
1211type Props = {
1312 children : React . ReactNode ;
@@ -45,7 +44,6 @@ export default function DefaultLayout({
4544 />
4645 </ head >
4746 < body >
48- < PolyfillComponent />
4947 < DsfrProvider lang = { lang } > { children } </ DsfrProvider >
5048 < MatomoAnalytics />
5149 </ body >
Original file line number Diff line number Diff line change 1+ import { PolyfillComponent } from "../config/PolyfillComponent" ;
12import { Footer } from "./Footer" ;
23import { Header } from "./header" ;
34import { NeedMoreInfo } from "./infos" ;
@@ -11,6 +12,7 @@ type Props = {
1112export const DsfrLayout = ( { children, container = "fr-container" } : Props ) => {
1213 return (
1314 < >
15+ < PolyfillComponent />
1416 < SkipLinks />
1517 < Header />
1618 < main className = { container } id = "main" >
You can’t perform that action at this time.
0 commit comments