refactor(site): Change la valeur par défaut d'un paramètre de CompanyDetails pour la plus utilisée.
parent
aece8e5893
commit
b380582697
|
@ -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