log: remove log from font
This commit is contained in:
@@ -40,6 +40,7 @@ export const useFile = (sha: Ref<string> | string, retrieveContent = true) => {
|
||||
}
|
||||
|
||||
const getCachedFileContent = async (): Promise<string | null> => {
|
||||
debugger
|
||||
const cachedNote = await getCachedNote()
|
||||
|
||||
fromCache.value = !!cachedNote
|
||||
|
||||
@@ -6,8 +6,6 @@ export const downloadGoogleFont = async (font: string): Promise<void> => {
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user