Refactor footer config

This commit is contained in:
Ariful Alam
2023-01-13 16:26:04 +06:00
parent 15dce3a539
commit 03ee76d815
3 changed files with 11 additions and 22 deletions

View File

@@ -135,7 +135,6 @@ export const sanitizeConfig = (config) => {
];
return {
footer: config?.footer,
github: {
username: config?.github?.username || '',
sortBy: config?.github?.sortBy || 'stars',
@@ -188,6 +187,7 @@ export const sanitizeConfig = (config) => {
themes: themes,
customTheme: customTheme,
},
footer: config?.footer,
};
};