🐛 (markdown) fix multiple page footnotes

This commit is contained in:
Julien Calixte
2021-12-11 22:04:14 +01:00
parent c569bde6d0
commit 070acfd3ca
3 changed files with 9 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import { useUserRepoStore } from '@/modules/repo/store/userRepo.store'
import { getFileContent } from '@/modules/repo/services/repo'
export const useFile = (sha: string, retrieveContent = true) => {
const { render } = useMarkdown()
const { render } = useMarkdown(sha)
const store = useUserRepoStore()
const { getCachedNote, saveCacheNote } = useNoteCache(sha)
const fromCache = ref(false)