added time for reviews
This commit is contained in:
@@ -39,11 +39,13 @@ function Reviews() {
|
||||
}
|
||||
|
||||
const sendReview = async () => {
|
||||
const date = new Date().toISOString();
|
||||
|
||||
const review = {
|
||||
"website": selectedWebsite,
|
||||
"rating": selectedRating,
|
||||
"text": text,
|
||||
"date": "today"
|
||||
"date": date,
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(review));
|
||||
|
||||
Reference in New Issue
Block a user