From 3f4e26fa7e67dd48d5f7971c1d846c32ee6b194f Mon Sep 17 00:00:00 2001 From: Malik Zulqurnain Date: Mon, 3 Nov 2025 22:20:09 +0500 Subject: [PATCH] hide aura rewards from quest list --- .../scripts/views/pages/ExplorePage/QuestList/QuestList.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/commonwealth/client/scripts/views/pages/ExplorePage/QuestList/QuestList.tsx b/packages/commonwealth/client/scripts/views/pages/ExplorePage/QuestList/QuestList.tsx index 626b937bfed..7f256414d49 100644 --- a/packages/commonwealth/client/scripts/views/pages/ExplorePage/QuestList/QuestList.tsx +++ b/packages/commonwealth/client/scripts/views/pages/ExplorePage/QuestList/QuestList.tsx @@ -30,6 +30,7 @@ type QuestListProps = { }; const COMMON_X_OKX_QUEST_ID = -3; +const COMMON_AURA_REWARDS_QUEST_ID = -100; const QuestList = ({ minQuests = 8, @@ -77,7 +78,10 @@ const QuestList = ({ // visible in other places and user's cab still earn aura for it. const quests = (questsList?.pages || []) .flatMap((page) => page.results) - .filter((q) => q.id !== COMMON_X_OKX_QUEST_ID); + .filter( + (q) => + ![COMMON_X_OKX_QUEST_ID, COMMON_AURA_REWARDS_QUEST_ID].includes(q.id), + ); const { data: xpProgressions = [], isLoading: isLoadingXPProgression } = useGetXPs({