log: remove log from font

This commit is contained in:
Julien Calixte
2024-10-27 11:23:17 +01:00
parent 0841bbfe50
commit 0d218fa25d
2 changed files with 1 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ export const useFile = (sha: Ref<string> | string, retrieveContent = true) => {
} }
const getCachedFileContent = async (): Promise<string | null> => { const getCachedFileContent = async (): Promise<string | null> => {
debugger
const cachedNote = await getCachedNote() const cachedNote = await getCachedNote()
fromCache.value = !!cachedNote fromCache.value = !!cachedNote

View File

@@ -6,8 +6,6 @@ export const downloadGoogleFont = async (font: string): Promise<void> => {
// check if the href already exists // check if the href already exists
const existingLink = document.querySelector(`link[href="${href}"]`) const existingLink = document.querySelector(`link[href="${href}"]`)
console.log({ existingLink })
if (!existingLink) { if (!existingLink) {
const link = document.createElement('link') const link = document.createElement('link')
link.href = href link.href = href