diff --git a/src/hooks/useFile.hook.ts b/src/hooks/useFile.hook.ts index 3299bd7..e93b7b1 100644 --- a/src/hooks/useFile.hook.ts +++ b/src/hooks/useFile.hook.ts @@ -40,6 +40,7 @@ export const useFile = (sha: Ref | string, retrieveContent = true) => { } const getCachedFileContent = async (): Promise => { + debugger const cachedNote = await getCachedNote() fromCache.value = !!cachedNote diff --git a/src/utils/downloadGoogleFont.ts b/src/utils/downloadGoogleFont.ts index 119aad0..88130cb 100644 --- a/src/utils/downloadGoogleFont.ts +++ b/src/utils/downloadGoogleFont.ts @@ -6,8 +6,6 @@ export const downloadGoogleFont = async (font: string): Promise => { // check if the href already exists const existingLink = document.querySelector(`link[href="${href}"]`) - console.log({ existingLink }) - if (!existingLink) { const link = document.createElement('link') link.href = href