diff --git a/src/backend/database/database_prod.db b/src/backend/database/database_prod.db index c3f75d397..56fa8b076 100644 Binary files a/src/backend/database/database_prod.db and b/src/backend/database/database_prod.db differ diff --git a/src/frontend/src/components/mainpageright/AddReview.tsx b/src/frontend/src/components/mainpageright/AddReview.tsx index ab65f881f..d517b63b0 100644 --- a/src/frontend/src/components/mainpageright/AddReview.tsx +++ b/src/frontend/src/components/mainpageright/AddReview.tsx @@ -10,6 +10,7 @@ import { Button, Radio, Stack, + ButtonGroup, } from '@mui/material'; interface Props { @@ -46,7 +47,7 @@ export default function AddReview({ address: apt.address, price_min: apt.price_min, price_max: apt.price_max, - rating: apt.rating + 1, + rating: apt.rating + vote, }; }); } @@ -132,18 +133,14 @@ export default function AddReview({ label="Downvote" /> - - {hasReview === true && ( - - )} + {hasReview === true && ( + + )} +