Skip to content

Commit

Permalink
fixed the icon path for web components
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil1793 committed Oct 26, 2023
1 parent d374d17 commit 2e4d5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-components/src/components/va-icon/va-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class VaIcon {
'usa-icon': true,
[`usa-icon--size-${size}`]: !!size,
});
const imageSrc = `${getAssetPath('assets/sprite.svg')}#${icon}`;
const imageSrc = `${getAssetPath('/assets/sprite.svg')}#${icon}`;
return (
<Host>
<svg
Expand Down

0 comments on commit 2e4d5b6

Please sign in to comment.