Skip to content

Commit

Permalink
Update PostReview.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lavskillup authored Dec 6, 2023
1 parent 2fcf30e commit e0f1095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/frontend/src/components/Dealers/PostReview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const PostReview = () => {
});

const json = await res.json();
if (json.status) {
if (json.status === 200) {
window.location.href = window.location.origin+"/dealer/"+id;
}

Expand Down

0 comments on commit e0f1095

Please sign in to comment.