Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
adamalshaick committed Apr 6, 2019
1 parent c04c328 commit ad24988
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion client/src/actions/itemActions.js
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@ export const addItem = (itemData, history) => dispatch => {
type: ADD_ITEM,
payload: res.data
});
history.push("/items");
})
.catch(err => {
dispatch({
4 changes: 3 additions & 1 deletion client/src/components/reviews/Reviews.js
Original file line number Diff line number Diff line change
@@ -25,7 +25,9 @@ const Reviews = ({ user, review }) => {
} else {
reviewItems = (
<div className="text-center">
<i>User has no reviews yet</i>
<p>
<i>User has no reviews yet</i>
</p>
</div>
);
}

0 comments on commit ad24988

Please sign in to comment.