mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
Fix download button & improvements
This commit is contained in:
+1
-2
@@ -41,7 +41,7 @@ export default function Icon() {
|
||||
|
||||
const downloadSvg = (name, url) => {
|
||||
confetti();
|
||||
download(url, `${name}.svg`, "image/svg+xml");
|
||||
download(url);
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -100,7 +100,6 @@ export default function Icon() {
|
||||
</Flex>
|
||||
</Flex>
|
||||
</SimpleGrid>
|
||||
|
||||
<Link href="/" passHref>
|
||||
<Button
|
||||
leftIcon={<IoArrowBackOutline />}
|
||||
|
||||
Reference in New Issue
Block a user