파일이 다운로드/업로드된 직후에 다운로드/업로드 페이지의 목록에서 바로 사라지던 버그 수정

This commit is contained in:
static
2025-12-31 01:32:54 +09:00
parent 26323c2d4d
commit 7b666cf692
3 changed files with 14 additions and 14 deletions

View File

@@ -4,6 +4,8 @@
import { getUploadingFiles, clearUploadedFiles } from "$lib/modules/file";
import File from "./File.svelte";
const uploadingFiles = getUploadingFiles();
$effect(() => clearUploadedFiles);
</script>
@@ -14,7 +16,7 @@
<TopBar />
<FullscreenDiv>
<div class="space-y-2 pb-4">
{#each getUploadingFiles() as file}
{#each uploadingFiles as file}
<File state={file} />
{/each}
</div>