Skip to content

Commit

Permalink
fix(Icon): switch to non-deprecated href attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
stramel authored Oct 22, 2024
1 parent 333f614 commit 620a349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/components/Icon.astro
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const normalizedBody = renderData.body;
) : (
<Fragment>
{includeSymbol && <symbol id={id} set:html={normalizedBody} />}
<use xlink:href={`#${id}`} />
<use href={`#${id}`} />
</Fragment>
)
}
Expand Down

0 comments on commit 620a349

Please sign in to comment.