← Back to Changelog
Bug FixApril 16, 2026

prevent drafts tab from firing query before community loads

  • Fixes #533: "My Drafts" tab showed empty despite API returning 26 draft articles
  • useMyDrafts and usePendingArticles fired before community context loaded, caching empty results
  • Added enabled: !!communityId guard — the standard React Query pattern already used by useArticle and useArticleBySlug in the same file