Skip to content

Commit c6bd518

Browse files
authored
review fix (#135)
* changed difficulty levels to dropdown * changed wording and order of comments * made difficulty work with 5 levels
1 parent 315372e commit c6bd518

File tree

2 files changed

+303
-293
lines changed

2 files changed

+303
-293
lines changed

my-app/src/presenters/ReviewPresenter.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const ReviewPresenter = observer(({ model, course }) => {
3030
if(!model?.user?.uid)
3131
setErrorMessage("You need to be logged in to post a comment - Posting anonymously is possible.");
3232
else if(reviews.filter((review)=>{return review.uid == model?.user?.uid}).length > 0)
33-
setErrorMessage("Everyone can only post once. Submitting a new comment will override the old one.");
33+
setErrorMessage("Everyone can only post once. Submitting a new comment will replace the old one.");
3434
}
3535
updateError();
3636
}, [reviews, model?.user?.uid]);

0 commit comments

Comments
 (0)