From c4665fdc046b132968c090992b6f0a49168bffd5 Mon Sep 17 00:00:00 2001 From: codytseng Date: Sun, 16 Feb 2025 19:13:41 +0800 Subject: [PATCH] chore: remove unused console logs --- .../MailboxSetting/CalculateOptimalReadRelaysButton.tsx | 1 - src/components/SearchDialog/index.tsx | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/components/MailboxSetting/CalculateOptimalReadRelaysButton.tsx b/src/components/MailboxSetting/CalculateOptimalReadRelaysButton.tsx index 639d304c..e16265d2 100644 --- a/src/components/MailboxSetting/CalculateOptimalReadRelaysButton.tsx +++ b/src/components/MailboxSetting/CalculateOptimalReadRelaysButton.tsx @@ -97,7 +97,6 @@ function OptimalReadRelays({ const init = async () => { setIsCalculating(true) const relays = await client.calculateOptimalReadRelays(pubkey) - console.log(relays) setOptimalReadRelays(relays) setIsCalculating(false) } diff --git a/src/components/SearchDialog/index.tsx b/src/components/SearchDialog/index.tsx index f0056164..a2e8233e 100644 --- a/src/components/SearchDialog/index.tsx +++ b/src/components/SearchDialog/index.tsx @@ -27,12 +27,6 @@ export function SearchDialog({ open, setOpen }: { open: boolean; setOpen: Dispat } }, [input]) - useEffect(() => { - profiles.forEach((profile) => { - console.log(profile.pubkey) - }) - }, [profiles]) - const list = useMemo(() => { const search = input.trim() if (!search) return