Skip to content

Commit

Permalink
fix(curated): only load curated communities once (#16657)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrainville authored Oct 31, 2024
1 parent eae6bea commit 5aa5390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/modules/main/communities/module.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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]) =
Expand Down

0 comments on commit 5aa5390

Please sign in to comment.