refactor(site): Change la valeur par défaut d'un paramètre de CompanyDetails pour la plus utilisée.
parent
50279ecd33
commit
ce0219a4fb
|
@ -13,7 +13,7 @@ import Value from '../EngineValue/Value'
|
|||
|
||||
export function CompanyDetails({
|
||||
showSituation = false,
|
||||
headingTag = 'h2',
|
||||
headingTag = 'h3',
|
||||
}: {
|
||||
showSituation?: boolean
|
||||
headingTag?: string | ComponentType | undefined
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -79,7 +79,7 @@ export default function AccueilChoixStatut() {
|
|||
</Body>
|
||||
</Trans>
|
||||
</Message>
|
||||
<CompanyDetails headingTag="h3" />
|
||||
<CompanyDetails />
|
||||
<PopoverConfirm
|
||||
trigger={(buttonProps) => (
|
||||
<Button
|
||||
|
|
|
@ -277,7 +277,7 @@ const AskCompanyMissingDetails = () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<CompanyDetails showSituation />
|
||||
<CompanyDetails showSituation headingTag="h2" />
|
||||
{!!questions.length && (
|
||||
<>
|
||||
<Body
|
||||
|
|
Loading…
Reference in New Issue