(backlinks) init backlinks

This commit is contained in:
Julien Calixte
2021-06-05 16:38:53 +02:00
parent ececcc2391
commit 203db4c00a
6 changed files with 42 additions and 0 deletions

View File

@@ -8,4 +8,5 @@ export interface UserSettings {
| 'Tajawal'
| 'Domine'
mode?: 'light' | 'dark'
backlink?: boolean
}

View File

@@ -79,6 +79,7 @@ export const getUserSettingsContent = async (
if (!configFile?.sha) {
return null
}
const content = await getFileContent(user, repo, configFile.sha)
if (!content) {