fix: image download issue

Co-Authored-By: Clivia <132346501+Yanyutin753@users.noreply.github.com>
This commit is contained in:
Timothy J. Baek 2024-05-05 22:46:22 -07:00
parent 594f2f264f
commit e92311b4eb

View File

@ -51,7 +51,7 @@
<button <button
class=" p-5" class=" p-5"
on:click={() => { on:click={() => {
downloadImage(src, 'Image.png'); downloadImage(src, src.substring(src.lastIndexOf('/') + 1));
}} }}
> >
<svg <svg