Reduce logging of SetList

This commit is contained in:
Brandon Presley 2022-11-21 18:07:02 +13:00
parent 29cbc43534
commit 1b9d35d71e
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,7 @@ export default function SetList() {
const navigation = useNavigation<NavigationProp<HomePageParams>>()
const refresh = useCallback(async (value: string) => {
console.log(`${SetList.name}.refresh:`, {value, limit})
const newSets = await setRepo.find({
where: {name: Like(`%${value}%`), hidden: 0 as any},
take: limit,
@ -36,7 +37,6 @@ export default function SetList() {
setSets(newSets)
setOffset(0)
setEnd(false)
console.log(`${SetList.name}.refresh:`, {newSets})
const first = newSets[0]
if (!first) return
// eslint-disable-next-line @typescript-eslint/no-unused-vars