Skip to content

Commit

Permalink
fix: lints (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Mar 14, 2022
1 parent 122bb71 commit 6f4cca8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pages/annexes/mentions-legales.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export default function Mentions() {
En savoir plus <br />
Pour en savoir plus sur la politique d’accessibilité numérique de
l’État :&nbsp;
<a href="http://references.modernisation.gouv.fr/accessibilite-numerique">
http://references.modernisation.gouv.fr/accessibilite-numerique
<a href="https://references.modernisation.gouv.fr/accessibilite-numerique">
https://references.modernisation.gouv.fr/accessibilite-numerique
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion pages/questionnaire-epds.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function QuestionnaireEPDS({ questionsEpds, resultsBoard }) {

const [updatedQuestionsEpds, setUpdatedQuestionsEpds] =
React.useState(questionsEpds)
const [resultsBoardTranslated, setResultsBoardTranslated] =
const [resultsBoardTranslated] =
React.useState(resultsBoard)
const [labelsTranslated, setLabelsTranslated] = React.useState()

Expand Down
4 changes: 2 additions & 2 deletions src/components/ResultsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ export function ResultsTab({
resultsBoardTranslated,
}) {
const isRTL = locale?.sens_lecture_droite_vers_gauche

const rtlClassName = isRTL ? "tab-rtl" : "";
const BuildDetailScore = ({ data, dataTranslated }) => (
<>
{dataTranslated &&
locale &&
locale.identifiant != LOCAL_IDENTIFIANT_FRANCAIS ? (
<>
<tr className={`tab-no-border ${isRTL ? "tab-rtl" : ""}`}>
<tr className={`tab-no-border ${rtlClassName}`}>
<td>{dataTranslated.question}</td>
<td>{dataTranslated.response}</td>
<th rowSpan="2">{data.points}</th>
Expand Down
2 changes: 1 addition & 1 deletion src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

body {
font-family: "Marianne";
font-family: "Marianne", sans-serif;
min-height: 100%;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 6f4cca8

Please sign in to comment.