Skip to content

Commit

Permalink
fix: rename to additionaInformationTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Jan 14, 2025
1 parent 9e9e3fb commit ac3c880
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/vibes/soul/sections/product-detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface Props<F extends Field> {
ctaDisabled?: Streamable<boolean | null>;
prefetch?: boolean;
thumbnailLabel?: string;
additionalInformationLabel?: string;
additionaInformationTitle?: string;
}

export function ProductDetail<F extends Field>({
Expand All @@ -54,7 +54,7 @@ export function ProductDetail<F extends Field>({
ctaDisabled: streamableCtaDisabled,
prefetch,
thumbnailLabel,
additionalInformationLabel = 'Additional information',
additionaInformationTitle = 'Additional information',
}: Props<F>) {
return (
<section className="@container">
Expand Down Expand Up @@ -139,7 +139,7 @@ export function ProductDetail<F extends Field>({
}
</Stream>

<h2 className="sr-only">{additionalInformationLabel}</h2>
<h2 className="sr-only">{additionaInformationTitle}</h2>
<Stream fallback={<ProductAccordionsSkeleton />} value={product.accordions}>
{(accordions) =>
accordions && (
Expand Down

0 comments on commit ac3c880

Please sign in to comment.