mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 00:00:28 +09:00
createQuery에서 staleTime 설정
This commit is contained in:
1 parent
27fcb7472e
commit
7f4ebd8601
2 files changed
+2
No files matched your search
@@ -104,6 +104,7 @@ export const getDirectoryInfo = (id: DirectoryId, masterKey: CryptoKey) => {
|
||||
};
|
||||
}
|
||||
},
|
||||
staleTime: Infinity,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ export const getFileInfo = (id: number, masterKey: CryptoKey) => {
|
||||
categoryIds: metadata.categories,
|
||||
};
|
||||
},
|
||||
staleTime: Infinity,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user