fix: convert arrow function for consistency
This commit is contained in:
parent
2c4489917a
commit
2d8475b20a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function changeTheme(id: string, url: string) {
|
||||||
themeLinkElement.href = `${baseURL}themes/${url}`;
|
themeLinkElement.href = `${baseURL}themes/${url}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const fetchThemes = async () => {
|
async function fetchThemes() {
|
||||||
for (const theme of defaultThemes) {
|
for (const theme of defaultThemes) {
|
||||||
const themeConfig = await $fetch(`${baseURL}themes/${theme}.json`) as Theme
|
const themeConfig = await $fetch(`${baseURL}themes/${theme}.json`) as Theme
|
||||||
themeConfig.id = theme
|
themeConfig.id = theme
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue