fix: convert arrow function for consistency
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
ci/woodpecker/pull_request_closed/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-05 19:22:06 +02:00
parent 2c4489917a
commit 2d8475b20a
No known key found for this signature in database

View file

@ -58,7 +58,7 @@ function changeTheme(id: string, url: string) {
themeLinkElement.href = `${baseURL}themes/${url}`;
}
const fetchThemes = async () => {
async function fetchThemes() {
for (const theme of defaultThemes) {
const themeConfig = await $fetch(`${baseURL}themes/${theme}.json`) as Theme
themeConfig.id = theme