From 6bdb51c167ee5a69d6cb4e68cfd70e11cfd1f892 Mon Sep 17 00:00:00 2001 From: Julien Castets Date: Mon, 4 Oct 2021 15:47:54 +0200 Subject: [PATCH] Fix eslint https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/402 If the tag wrapped by doesn't have the href attribute set, eslint complains. --- components/ButtonLink.jsx | 2 +- pages/index.jsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/ButtonLink.jsx b/components/ButtonLink.jsx index 01008ab..abe3c65 100644 --- a/components/ButtonLink.jsx +++ b/components/ButtonLink.jsx @@ -14,7 +14,7 @@ const ButtonLink = React.forwardRef( { children } ); - } + }, ); ButtonLink.defaultProps = { diff --git a/pages/index.jsx b/pages/index.jsx index 793fdf1..30a4bdb 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -62,7 +62,7 @@ function ChallengesSection() {

- Artisan taxi + Artisan taxi

Recevez de nouvelles courses lorsque vous êtes en maraude

@@ -78,7 +78,7 @@ function ChallengesSection() {

- Groupement de taxis + Groupement de taxis

Connectez vos taxis à tous les usagers

@@ -94,7 +94,7 @@ function ChallengesSection() {

- Application de mobilité + Application de mobilité

Proposez aussi les taxis dans votre application grand public

@@ -110,7 +110,7 @@ function ChallengesSection() {

- Mobilité publique + Mobilité publique

Intégrez le service public des taxis à votre offre locale