Skip to content

Commit

Permalink
fix(dsfr): ne pas utiliser deux fois la balise HTML (#6246)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-maillot authored Oct 31, 2024
1 parent 833d144 commit 3c179b1
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions packages/code-du-travail-frontend/src/modules/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ import { SkipLinks } from "./SkipLinks";

export const DsfrLayout = ({ children }: { children: React.ReactNode }) => {
return (
<html>
<body>
<SkipLinks />
<Header />
<main className={fr.cx("fr-container")} id="main">
{children}
</main>
<NeedMoreInfo />
<Footer />
</body>
</html>
<>
<SkipLinks />
<Header />
<main className={fr.cx("fr-container")} id="main">
{children}
</main>
<NeedMoreInfo />
<Footer />
</>
);
};

0 comments on commit 3c179b1

Please sign in to comment.