diff --git a/src/services/datahub/content-staking/utils.tsx b/src/services/datahub/content-staking/utils.tsx index 56e807af1..a503f3b1e 100644 --- a/src/services/datahub/content-staking/utils.tsx +++ b/src/services/datahub/content-staking/utils.tsx @@ -12,8 +12,9 @@ export function toastSuperLikeNotification( myAddress: string | undefined ) { const { post, staker } = eventData.entity - getSuperLikeCountQuery.invalidate(queryClient, post.persistentId) if (staker.id === myAddress && post.persistentId) { + getSuperLikeCountQuery.invalidate(queryClient, post.persistentId) + const todayLike = getTodaySuperLikeCountQuery.getQueryData( queryClient, myAddress