diff --git a/src/components/IconGrid/InfoPanel.tsx b/src/components/IconGrid/InfoPanel.tsx index 2de85d8..5096ee9 100644 --- a/src/components/IconGrid/InfoPanel.tsx +++ b/src/components/IconGrid/InfoPanel.tsx @@ -76,7 +76,7 @@ const InfoPanel: React.FC = (props) => { event.currentTarget.blur(); if (!ref.current?.outerHTML) return; const blob = new Blob([ref.current.outerHTML]); - saveAs(blob, `${name}.svg`); + saveAs(blob, `${name}${weight === "regular" ? "" : `-${weight}`}.svg`); }; const handleCopySVG = (