fix: remove unused logs
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
export const useRuneStyles = () => {
|
export const useRuneStyles = () => {
|
||||||
const { data: perksData } = useFetch('/api/cdragon/perks')
|
const { data: perksData } = useFetch('/api/cdragon/perks')
|
||||||
const { data: stylesData } = useFetch('/api/cdragon/perkstyles')
|
const { data: stylesData } = useFetch('/api/cdragon/perkstyles')
|
||||||
console.log(stylesData.value)
|
|
||||||
|
|
||||||
const perks = reactive(new Map<number, Perk>())
|
const perks = reactive(new Map<number, Perk>())
|
||||||
watch(
|
watch(
|
||||||
|
|||||||
@@ -78,7 +78,6 @@ watch(
|
|||||||
// Add timeout to prevent infinite loading
|
// Add timeout to prevent infinite loading
|
||||||
const loadingTimeout = setTimeout(() => {
|
const loadingTimeout = setTimeout(() => {
|
||||||
if (isLoading.value && !championData.value && !error.value) {
|
if (isLoading.value && !championData.value && !error.value) {
|
||||||
console.warn('Champion data loading timed out')
|
|
||||||
error.value = 'Loading took too long. Please try again.'
|
error.value = 'Loading took too long. Please try again.'
|
||||||
isLoading.value = false
|
isLoading.value = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ export function getLateGameItems(build: Build): Array<{ data: number; count: num
|
|||||||
|
|
||||||
lateGameItems.sort((a, b) => b.count - a.count)
|
lateGameItems.sort((a, b) => b.count - a.count)
|
||||||
|
|
||||||
console.log(lateGameItems)
|
|
||||||
|
|
||||||
// Sort by count descending
|
// Sort by count descending
|
||||||
return lateGameItems.filter(item => !treeToArray(getCoreItems(build)).includes(item.data))
|
return lateGameItems.filter(item => !treeToArray(getCoreItems(build)).includes(item.data))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user