createQuery에서 staleTime 설정

This commit is contained in:
static
2025-07-17 13:25:01 +09:00
parent 27fcb7472e
commit 7f4ebd8601
2 changed files with 2 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ export const getDirectoryInfo = (id: DirectoryId, masterKey: CryptoKey) => {
};
}
},
staleTime: Infinity,
});
};

View File

@@ -86,6 +86,7 @@ export const getFileInfo = (id: number, masterKey: CryptoKey) => {
categoryIds: metadata.categories,
};
},
staleTime: Infinity,
});
};