Skip to content

Commit

Permalink
fix fr import
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens authored and arnaudambro committed Aug 3, 2023
1 parent 68679ab commit 1bd1b81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prebuild": "only-include-used-icons"
},
"dependencies": {
"@codegouvfr/react-dsfr": "^0.73.2",
"@codegouvfr/react-dsfr": "0.73.2",
"next": "13.4.12",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand All @@ -22,12 +22,11 @@
"@types/node": "20.4.5",
"@types/react": "18.2.17",
"@types/react-dom": "18.2.7",
"@types/codegrouvfr/react-dsfr": "18.2.7",
"autoprefixer": "10.4.14",
"eslint": "8.45.0",
"eslint-config-next": "13.4.12",
"postcss": "8.4.27",
"sass": "^1.64.2",
"sass": "1.64.2",
"tailwindcss": "3.3.3",
"typescript": "5.1.6"
}
Expand Down
7 changes: 4 additions & 3 deletions src/app/components/CustomHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";
import { fr } from "@codegrouvfr/react-dsfr";
"use client"

import { fr } from "@codegouvfr/react-dsfr"
import { Header } from "@codegouvfr/react-dsfr/Header";

export default function CustomHeader() {
Expand All @@ -14,7 +15,7 @@ export default function CustomHeader() {
}
homeLinkProps={{
href: "/",
title: "Accueil - Nom de lentité (ministère, secrétariat détat, gouvernement)",
title: "Accueil - Nom de l'entité (ministère, secrétariat d'état, gouvernement)",
}}
id="fr-header-header-with-quick-access-items-nav-items-and-search-engine"
navigation={[
Expand Down

0 comments on commit 1bd1b81

Please sign in to comment.