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 },