From 5aa5390b6ceff785540abd51ded15596f060ada3 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 31 Oct 2024 11:07:05 -0400 Subject: [PATCH] fix(curated): only load curated communities once (#16657) --- src/app/modules/main/communities/module.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/modules/main/communities/module.nim b/src/app/modules/main/communities/module.nim index edaef8b9183..514d55b49d2 100644 --- a/src/app/modules/main/communities/module.nim +++ b/src/app/modules/main/communities/module.nim @@ -164,6 +164,8 @@ method communityDataLoaded*(self: Module) = self.buildTokensAndCollectiblesFromAllCommunities() method onActivated*(self: Module) = + if self.curatedCommunitiesLoaded: + return self.controller.asyncLoadCuratedCommunities() method curatedCommunitiesLoaded*(self: Module, curatedCommunities: seq[CommunityDto]) =