From bfdaeb475b941bbd39df87bc2738f74f84406f67 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 16 Feb 2024 21:47:42 +0300 Subject: [PATCH] schema-redeploy --- src/components/Article/RatingControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Article/RatingControl.tsx b/src/components/Article/RatingControl.tsx index e64ff5d1..a9849eb3 100644 --- a/src/components/Article/RatingControl.tsx +++ b/src/components/Article/RatingControl.tsx @@ -49,7 +49,7 @@ export const RatingControl = (props: RatingControlProps) => { () => props.shout, (shout) => { if (shout) { - setTotal(shout?.stat?.rating) + setTotal(shout.stat?.rating) } }, { defer: true },