mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Refactor footer config
This commit is contained in:
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user