Skip to content

Commit

Permalink
fix(dsfr): sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
alebret committed Jan 17, 2023
1 parent 0882376 commit 6c34d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/contact/contact-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import {
convertDateToString,
LoaderFoButton,
} from "../../src/utils/main.utils"
import * as StorageUtils from "../../src/utils/storage.utils"
import { DatePickerLastChild } from "../../src/components/contact/DatePickerLastChild"
import { useMutation } from "@apollo/client"
import { client, EPDS_CONTACT_INFORMATION, SAVE_DEMANDE_DE_CONTACT } from "../../apollo-client"
import { useRouter } from "next/router"
import { WidgetHeader } from "../../src/components/WidgetHeader"
import { Form } from "../../src/constants/specificLabels"
import * as StorageUtils from "../../src/utils/storage.utils"
import * as ContactUtils from "../../src/utils/contact.utils"
import * as DsfrUtils from "../../src/utils/dsfr-components.utils"
import Button from "@codegouvfr/react-dsfr/Button"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/dsfr-components.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
export const getInputState = (param) => {
if (param === false) return "error"
if (param === true) return "default"
else return "default"
return "default"
}

0 comments on commit 6c34d3e

Please sign in to comment.