Skip to content

Commit

Permalink
Merge pull request #39 from xandemon/fix/downloadCorrupt
Browse files Browse the repository at this point in the history
Fix corrupt svg icons being downloaded from website
  • Loading branch information
xandemon authored Dec 17, 2024
2 parents b52dcdf + 86c8a25 commit fe0e3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/ui/iconCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const IconCard = ({ icon }: { icon: IconDataType }) => {
trigger={
<span
className="p-1 flex flex-center cursor-pointer hover:text-blue-300"
onClick={() => downloadIcon(icon.name)}
onClick={() => downloadIcon(icon.path)}
>
<Download size={18} />
</span>
Expand Down

0 comments on commit fe0e3ae

Please sign in to comment.