heic2any를 동적으로 import하도록 변경

This commit is contained in:
static
2025-01-15 08:34:50 +09:00
parent 9f9c52ff94
commit 366f657113
3 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { saveAs } from "file-saver";
import FileSaver from "file-saver";
import { goto } from "$app/navigation";
import { Button, TextButton } from "$lib/components/buttons";
import { TitleDiv, BottomDiv } from "$lib/components/divs";
@@ -31,7 +31,7 @@
const clientKeysBlob = new Blob([JSON.stringify(clientKeysSerialized)], {
type: "application/json",
});
saveAs(clientKeysBlob, "arkvault-clientkey.json");
FileSaver.saveAs(clientKeysBlob, "arkvault-clientkey.json");
if (!isBeforeContinueBottomSheetOpen) {
setTimeout(() => {