From d51c2081b10573c5e3ae5c050e408533e58a360d Mon Sep 17 00:00:00 2001 From: noumantahir Date: Wed, 29 May 2024 12:36:57 +0500 Subject: [PATCH] added missing null check on post.stats --- src/providers/queries/postQueries/wavesQueries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/queries/postQueries/wavesQueries.ts b/src/providers/queries/postQueries/wavesQueries.ts index b8612bcd96..fde7f1c380 100644 --- a/src/providers/queries/postQueries/wavesQueries.ts +++ b/src/providers/queries/postQueries/wavesQueries.ts @@ -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 }