Removed awaits, clean up API route
All checks were successful
pipeline / lint-and-format (push) Successful in 4m54s
pipeline / build-and-push-images (push) Successful in 4m43s

This commit is contained in:
2026-01-23 21:22:19 +01:00
parent ef48e748db
commit 653b0c41d7
4 changed files with 77 additions and 17 deletions

View File

@@ -102,9 +102,9 @@ watch(
)
// Navigation
async function navigateToChampion(championAlias: string): Promise<void> {
function navigateToChampion(championAlias: string): void {
try {
await navigateTo(`/champion/${championAlias.toLowerCase()}`)
navigateTo(`/champion/${championAlias.toLowerCase()}`)
} catch (error) {
console.error('Navigation error:', error)
}