Skip to content

Commit fa77506

Browse files
committed
two decimal places
1 parent c24e9ac commit fa77506

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎frontend/src/party/view/util.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const avgRating = (votes: Vote[]) => {
1313
};
1414

1515
export const avgRatingTwoDecimals = (votes: Vote[]) => {
16-
return avgRating(votes);
16+
return avgRating(votes).toFixed(2);
1717
};
1818

1919
export const sortSubmissions = (submissions: PartySubmissionResponse[]) => {

0 commit comments

Comments
 (0)