Skip to content

Commit

Permalink
fix: using wrong field to deconstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmut-co-uk committed Aug 9, 2024
1 parent 9760383 commit 1074e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/starlight/components/CallToAction.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Props {
}
const { link, variant, icon } = Astro.props;
const { class: customClass, ...attrs } = Astro.props.attrs || {};
const { class: customClass, ...attrs } = Astro.props || {};
---

<a class:list={['sl-flex action', variant, customClass]} href={link} {...attrs}>
Expand Down

0 comments on commit 1074e40

Please sign in to comment.