Skip to content

Commit

Permalink
Prefetch moderation for contest
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jul 2, 2024
1 parent 2cc0b15 commit 5792128
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/tg/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export const getStaticProps = getCommonStaticProps<AppCommonProps>(
prefetchBlockedEntities(
client,
[env.NEXT_PUBLIC_MAIN_SPACE_ID].filter(Boolean),
[env.NEXT_PUBLIC_MAIN_CHAT_ID].filter(Boolean)
[env.NEXT_PUBLIC_MAIN_CHAT_ID, env.NEXT_PUBLIC_CONTEST_CHAT_ID].filter(
Boolean
)
),
])
getPaginatedPostIdsByPostId.invalidateFirstQuery(
Expand Down

0 comments on commit 5792128

Please sign in to comment.