mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
FloatingButton 컴포넌트 리팩토링
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
let { data } = $props();
|
||||
|
||||
const fingerprint = $derived(
|
||||
let fingerprint = $derived(
|
||||
$clientKeyStore
|
||||
? generatePublicKeyFingerprint($clientKeyStore.encryptKey, $clientKeyStore.verifyKey)
|
||||
: undefined,
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
let isAddToCategoryBottomSheetOpen = $state(false);
|
||||
|
||||
const downloadStatus = $derived(
|
||||
let downloadStatus = $derived(
|
||||
$fileDownloadStatusStore.find((statusStore) => {
|
||||
const { id, status } = get(statusStore);
|
||||
return id === data.id && isFileDownloading(status);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { fileDownloadStatusStore, isFileDownloading } from "$lib/stores";
|
||||
import File from "./File.svelte";
|
||||
|
||||
const downloadingFiles = $derived(
|
||||
let downloadingFiles = $derived(
|
||||
$fileDownloadStatusStore.filter((status) => isFileDownloading(get(status).status)),
|
||||
);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { fileUploadStatusStore, isFileUploading } from "$lib/stores";
|
||||
import File from "./File.svelte";
|
||||
|
||||
const uploadingFiles = $derived(
|
||||
let uploadingFiles = $derived(
|
||||
$fileUploadStatusStore.filter((status) => isFileUploading(get(status).status)),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user