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

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

@@ -45,7 +45,7 @@ export const clearDownloadedFiles = () => {
const requestFileDownload = limitFunction(
async (state: FileDownloadState, id: number) => {
state.status = "download-pending";
state.status = "downloading";
const res = await axios.get(`/api/file/${id}/download`, {
responseType: "arraybuffer",