Skip to content

Commit

Permalink
Merge pull request #2883 from ecency/nt/wave-publish-fix
Browse files Browse the repository at this point in the history
added missing null check on post.stats
  • Loading branch information
feruzm authored May 29, 2024
2 parents d77856a + d51c208 commit 054755e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/queries/postQueries/wavesQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export const useWavesQuery = (host: string) => {
}

//discard if wave is downvoted or marked gray
else if (post.net_rshares < 0 || post.stats?.gray || post.stats.hide) {
else if (post.net_rshares < 0 || post.stats?.gray || post.stats?.hide) {
_status = false
}

Expand Down

0 comments on commit 054755e

Please sign in to comment.