From b9591d7364bc33ab87e894a81081e9ae3010e628 Mon Sep 17 00:00:00 2001 From: ilya-bkv Date: Tue, 2 Apr 2024 14:28:43 +0300 Subject: [PATCH] Cleanup code --- src/components/Views/Topic.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/Views/Topic.tsx b/src/components/Views/Topic.tsx index 520f8ba8..97a107dd 100644 --- a/src/components/Views/Topic.tsx +++ b/src/components/Views/Topic.tsx @@ -48,8 +48,6 @@ export const TopicView = (props: Props) => { const [favoriteTopArticles, setFavoriteTopArticles] = createSignal([]) const [reactedTopMonthArticles, setReactedTopMonthArticles] = createSignal([]) - console.log('%c!!! :', 'color: #bada55', sortedArticles()) - const [topic, setTopic] = createSignal() createEffect(() => { @@ -84,9 +82,7 @@ export const TopicView = (props: Props) => { setReactedTopMonthArticles(result) } - const loadRandom = () => { - console.log("!!! loadRandom:"); loadFavoriteTopArticles(topic()?.slug) loadReactedTopMonthArticles(topic()?.slug) }