diff --git a/src/components/Rating/Rating.tsx b/src/components/Rating/Rating.tsx index dfff6f8b5..635a2ab5c 100644 --- a/src/components/Rating/Rating.tsx +++ b/src/components/Rating/Rating.tsx @@ -50,14 +50,14 @@ export function Rating(props: RatingProps) { ); })} {(props.total || 0) > 0 && ( - - {decimalIfNeeded(Number(props.rating!))} - - )} - {(props.total || 0) > 0 && ( - - ({Intl.NumberFormat('en-US').format(props.total!)}) - + <> + + {decimalIfNeeded(Number(props.rating!))} + + + ({Intl.NumberFormat('en-US').format(props.total!)}) + + )} );