fix: more resilient saved to avoid conflict. (no need to add the README main file when saveCacheNote)
This commit is contained in:
@@ -40,7 +40,6 @@ export const useFile = (sha: Ref<string> | string, retrieveContent = true) => {
|
||||
}
|
||||
|
||||
const getCachedFileContent = async (): Promise<string | null> => {
|
||||
debugger
|
||||
const cachedNote = await getCachedNote()
|
||||
|
||||
fromCache.value = !!cachedNote
|
||||
|
||||
Reference in New Issue
Block a user