refactor(site): Change la valeur par défaut d'un paramètre de CompanyDetails pour la plus utilisée.

feat/1633-ajout-recherche-entreprise-simulateurs-bis
Alice Dahan 2024-07-15 16:38:13 +02:00
parent aece8e5893
commit b380582697
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ import Value from '../EngineValue/Value'
export function CompanyDetails({
showSituation = false,
headingTag = 'h2',
headingTag = 'h3',
}: {
showSituation?: boolean
headingTag?: string | ComponentType | undefined

View File

@ -39,7 +39,7 @@ export default function SearchOrCreate() {
{companySIREN ? (
<>
<H3 as="h2">Votre entreprise</H3>
<CompanyDetails headingTag="h3" />
<CompanyDetails />
<Spacing md />
<AnswerGroup role="list">
<Button

View File

@ -79,7 +79,7 @@ export default function AccueilChoixStatut() {
</Body>
</Trans>
</Message>
<CompanyDetails headingTag="h3" />
<CompanyDetails />
<PopoverConfirm
trigger={(buttonProps) => (
<Button

View File

@ -277,7 +277,7 @@ const AskCompanyMissingDetails = () => {
return (
<>
<CompanyDetails showSituation />
<CompanyDetails showSituation headingTag="h2" />
{!!questions.length && (
<>
<Body