Removed awaits, clean up API route
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user