mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-15 22:38:47 +00:00
createQuery에서 staleTime 설정
This commit is contained in:
@@ -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